public void notifyListeners(LexerNoViableAltException e) {String text = _input.getText(Interval.of(_tokenStartCharIndex, _input.index()));String msg = "token recognition error at: '"+ getErrorDisplay(text) + "'";ANTLRErrorListener listener = getErrorListenerDispatch();listener.syntaxError(this, null, _tokenStartLine, _tokenStartCharPositionInLine, msg, e);}
public virtual void NotifyListeners(LexerNoViableAltException e){string text = _input.GetText(Interval.Of(_tokenStartCharIndex, _input.Index));string msg = "token recognition error at: '" + GetErrorDisplay(text) + "'";IAntlrErrorListener<int> listener = ErrorListenerDispatch;listener.SyntaxError(ErrorOutput, this, 0, _tokenStartLine, _tokenStartColumn, msg, e);}