blob: a92efd74f6629030f0e0a5c8a326c617559b4131 (
plain)
1
2
3
4
5
6
7
|
lexer grammar IDLexer;
options { language = Perl5; }
ID : ('a'..'z'|'A'..'Z')+ ;
INT : '0'..'9'+ ;
NEWLINE:'\r'? '\n' { $self->skip(); } ;
WS : (' '|'\t')+ { $channel = HIDDEN; } ;
|