1 // @@ANTLR Tool Options@@: -trace
2 tree grammar t051treeRewriteASTvWalker;
3 options {
4 language=JavaScript;
5 output=AST;
6 ASTLabelType=CommonTree;
7 tokenVocab=t051treeRewriteASTv;
8 rewrite=true;
9 }
10 s : a ;
11 a : b ;
12 b : ID INT -> INT ID
13 ;
14