xref: /aosp_15_r20/external/antlr/runtime/JavaScript/tests/functional/t058rewriteAST24.g (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1
2grammar t058rewriteAST24;
3options {language=JavaScript;output=AST;}
4a : ID INT -> {false}? ID
5           -> {true}? INT
6           ->
7  ;
8ID : 'a'..'z'+ ;
9INT : '0'..'9'+;
10WS : (' '|'\n') {$channel=HIDDEN;} ;