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

10 lines
177 B
Plaintext
Executable File

grammar t057autoAST54;
options {language=JavaScript;output=AST;}
a : b | c ;
b : ID ;
c : INT ;
ID : 'a'..'z'+ ;
S : '*' ;
INT : '0'..'9'+;
WS : (' '|'\n') {$channel=HIDDEN;} ;