This method needs to be implemented in `LexerATNSimulator` as well as `ParserATNSimulator`.