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