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