diff options
Diffstat (limited to 'antlr-3.4/runtime/JavaScript/tests/functional/t051treeRewriteASTdWalker.g')
-rwxr-xr-x | antlr-3.4/runtime/JavaScript/tests/functional/t051treeRewriteASTdWalker.g | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/antlr-3.4/runtime/JavaScript/tests/functional/t051treeRewriteASTdWalker.g b/antlr-3.4/runtime/JavaScript/tests/functional/t051treeRewriteASTdWalker.g new file mode 100755 index 0000000..af54dd8 --- /dev/null +++ b/antlr-3.4/runtime/JavaScript/tests/functional/t051treeRewriteASTdWalker.g @@ -0,0 +1,10 @@ +// @@ANTLR Tool Options@@: -trace +tree grammar t051treeRewriteASTdWalker; +options { + language=JavaScript; + output=AST; + ASTLabelType=CommonTree; + tokenVocab=t051treeRewriteASTd; +} + +a : ID -> ^(ID ID); |