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

7 lines
158 B
Plaintext
Executable File

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