blob: 56132aeb02ae6e278929a77cf5bebb63075ff0d6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// @@ANTLR Tool Options@@: -trace
tree grammar t049treeparserhWalker;
options {
language=JavaScript;
ASTLabelType=CommonTree;
}
a : ^(ID INT? b) SEMI
{this.capture($ID+", "+$b.text);}
;
b : ID? ;
|