• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 grammar t058rewriteAST2;
3 options {language=JavaScript;output=AST;}
4 a : ID -> ID;
5 ID : 'a'..'z'+ ;
6 INT : '0'..'9'+;
7 WS : (' '|'\n') {$channel=HIDDEN;} ;