xref: /aosp_15_r20/external/antlr/runtime/JavaScript/tests/functional/t058rewriteAST46.g (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1
2grammar t058rewriteAST46;
3options {language=JavaScript;output=AST;}
4tokens {MOD;}
5a : ID (',' ID)* ';' -> ID+ ID+ ;
6ID : 'a'..'z'+ ;
7WS : (' '|'\n') {$channel=HIDDEN;} ;