xref: /aosp_15_r20/external/antlr/runtime/JavaScript/tests/functional/t057autoAST46.g (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1grammar t057autoAST46;
2options {language=JavaScript;output=AST;}
3decl : type^ ID '='! INT ';'! ;
4type : 'int' | 'float' ;
5ID : 'a'..'z'+ ;
6INT : '0'..'9'+;
7WS : (' '|'\n') {$channel=HIDDEN;} ;
8