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

7 lines
160 B
Plaintext
Executable File

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