aboutsummaryrefslogtreecommitdiff
path: root/antlr-3.4/runtime/JavaScript/tests/functional/t057autoAST29.g
blob: 3499b96aea3a1f8ec6077d84eaee29a942a7cb29 (plain)
1
2
3
4
5
6
grammar t057autoAST29;
options {language=JavaScript;output=AST;}
a : x=~ID '+' INT ;
ID : 'a'..'z'+ ;
INT : '0'..'9'+;
WS : (' '|'\n') {$channel=HIDDEN;} ;