Is there a way to pass state information from the parser to the lexer? I am continually facing situations where the lexer should tokenize differently based on the parser rule. I have seen this question about ANTLR discussed on the web, but so far I haven't seen any solutions.