1lexer grammar t011lexer;
2options {
3  language = Python;
4}
5
6IDENTIFIER: 
7        ('a'..'z'|'A'..'Z'|'_') 
8        ('a'..'z'
9        |'A'..'Z'
10        |'0'..'9'
11        |'_'
12            { 
13              print "Underscore" 
14              print "foo"
15            }
16        )*
17    ;
18
19WS: (' ' | '\n')+;
20