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