aboutsummaryrefslogtreecommitdiff
path: root/runtime/JavaScript/tests/functional/t057autoAST19.g
blob: 69383b43611be16a076c8f883e8e1284976fe06e (plain)
1
2
3
4
5
6
7
grammar t057autoAST19;
options {language=JavaScript;output=AST;}
a  : x+=type^ ID ;
type : {pass}'int' | 'float' ;
ID : 'a'..'z'+ ;
INT : '0'..'9'+;
WS : (' '|'\n') {$channel=HIDDEN;} ;