lexer grammar t006lexer; options { language = JavaScript; } FOO: 'f' ('o' | 'a')*;