android_mt6572_jiabo/external/antlr/antlr-3.4/runtime/Python/tests/t011lexer.g
2025-09-05 16:56:03 +08:00

19 lines
298 B
Text

lexer grammar t011lexer;
options {
language = Python;
}
IDENTIFIER:
('a'..'z'|'A'..'Z'|'_')
('a'..'z'
|'A'..'Z'
|'0'..'9'
|'_'
{
print "Underscore"
print "foo"
}
)*
;
WS: (' ' | '\n')+;