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

9 lines
180 B
Plaintext
Executable File

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