aboutsummaryrefslogtreecommitdiff
path: root/runtime/JavaScript/tests/functional/t051treeRewriteASTkWalker.g
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/JavaScript/tests/functional/t051treeRewriteASTkWalker.g')
-rwxr-xr-xruntime/JavaScript/tests/functional/t051treeRewriteASTkWalker.g10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/JavaScript/tests/functional/t051treeRewriteASTkWalker.g b/runtime/JavaScript/tests/functional/t051treeRewriteASTkWalker.g
new file mode 100755
index 0000000..f8647d0
--- /dev/null
+++ b/runtime/JavaScript/tests/functional/t051treeRewriteASTkWalker.g
@@ -0,0 +1,10 @@
+// @@ANTLR Tool Options@@: -trace
+tree grammar t051treeRewriteASTkWalker;
+options {
+ language=JavaScript;
+ output=AST;
+ ASTLabelType=CommonTree;
+ tokenVocab=t051treeRewriteASTk;
+}
+a : ^(x=ID y=INT)
+ ;