summaryrefslogtreecommitdiffstats
path: root/llparse-frontend/test/fixtures/a-implementation/node/sequence.ts
diff options
context:
space:
mode:
Diffstat (limited to 'llparse-frontend/test/fixtures/a-implementation/node/sequence.ts')
-rw-r--r--llparse-frontend/test/fixtures/a-implementation/node/sequence.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/llparse-frontend/test/fixtures/a-implementation/node/sequence.ts b/llparse-frontend/test/fixtures/a-implementation/node/sequence.ts
new file mode 100644
index 0000000..13fd336
--- /dev/null
+++ b/llparse-frontend/test/fixtures/a-implementation/node/sequence.ts
@@ -0,0 +1,8 @@
+import { node } from '../../../../src/frontend';
+import { Node } from './base';
+
+export class Sequence extends Node<node.Sequence> {
+ protected doBuild(out: string[]): void {
+ out.push(this.format(`select="${this.ref.select.toString('hex')}"`));
+ }
+}