1// @@ANTLR Tool Options@@: -trace 2tree grammar t049treeparsereWalker; 3options { 4 language=JavaScript; 5 ASTLabelType=CommonTree; 6} 7a : ID INT+ PERIOD {this.capture("alt 1");} 8 | ID INT+ SEMI {this.capture("alt 2");} 9 ; 10