android13/external/antlr/runtime/JavaScript/tests/functional/t057autoAST15.g

7 lines
183 B
Plaintext
Executable File

grammar t057autoAST15;
options {language=JavaScript;output=AST;}
a : 'void' (({pass}ID|INT) ID | 'null' ) ';' ;
ID : 'a'..'z'+ ;
INT : '0'..'9'+;
WS : (' '|'\n') {$channel=HIDDEN;} ;