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

8 lines
182 B
Plaintext
Executable File

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