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