1// @@ANTLR Tool Options@@: -trace 2tree grammar t049treeparsergWalker; 3options { 4 language=JavaScript; 5 ASTLabelType=CommonTree; 6} 7a : ^(ID INT?) SEMI 8 {this.capture($ID);} 9 ; 10