blob: ba64918b3690716073f6bc3cae1fbefb98eddbab [file] [log] [blame]
tree grammar t049treeparserdWalker;
options {
language=JavaScript;
ASTLabelType=CommonTree;
}
a : b b ;
b : ID INT+ {this.capture($ID+" "+$INT+"\n");}
| ^(x=ID (y=INT)+) {this.capture("^("+$x+' '+$y+")");}
;