xref: /aosp_15_r20/external/antlr/runtime/JavaScript/tests/functional/t056lexer7.g (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1grammar t056lexer7;
2options {language=JavaScript;}
3a : A EOF ;
4A : 'hi' WS (v=I)? {$channel=0; this.xlog($v.text);} ;
5fragment I : '0'..'9'+ ;
6WS : (' '|'\n') {$channel=HIDDEN;} ;
7