1 lexer grammar t007lexer; 2 options { 3 language = JavaScript; 4 } 5 6 FOO: 'f' ('o' | 'a' 'b'+)*; 7