10 lines
216 B
Plaintext
10 lines
216 B
Plaintext
|
|
// @@ANTLR Tool Options@@: -trace
|
||
|
|
tree grammar t051treeRewriteASTrWalker;
|
||
|
|
options {
|
||
|
|
language=JavaScript;
|
||
|
|
output=AST;
|
||
|
|
ASTLabelType=CommonTree;
|
||
|
|
tokenVocab=t051treeRewriteASTr;
|
||
|
|
}
|
||
|
|
a : ^(ID (ID | INT) ) ;
|