public void SyntaxError(IRecognizer recognizer, int offendingSymbol, int line, int charPositionInLine, string msg, RecognitionException e) { LexerError error = new LexerError(msg, new SourceLocation(line, charPositionInLine + 1)); _lexerErrors.Add(error); }
public LexerException(LexerError error) { }