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