1tree grammar t049treeparserdWalker; 2options { 3 language=JavaScript; 4 ASTLabelType=CommonTree; 5} 6a : b b ; 7b : ID INT+ {this.capture($ID+" "+$INT+"\n");} 8 | ^(x=ID (y=INT)+) {this.capture("^("+$x+' '+$y+")");} 9 ; 10