protected class AbstractInternalAntlrParser.LexerErrorContext extends AbstractInternalAntlrParser.ErrorContext implements ISyntaxErrorMessageProvider.IParserErrorContext
Constructor and Description |
---|
AbstractInternalAntlrParser.LexerErrorContext(java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultMessage()
Provides the default error message as it is produced by the parser.
|
org.antlr.runtime.RecognitionException |
getRecognitionException()
Returns the recognition exception or
null in case of lexer errors. |
java.lang.String[] |
getTokenNames()
Returns the names of the tokens in as they are used by the parser.
|
getCurrentContext, getCurrentNode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentContext, getCurrentNode
public AbstractInternalAntlrParser.LexerErrorContext(java.lang.String message)
public java.lang.String getDefaultMessage()
ISyntaxErrorMessageProvider.IErrorContext
getDefaultMessage
in interface ISyntaxErrorMessageProvider.IErrorContext
public org.antlr.runtime.RecognitionException getRecognitionException()
ISyntaxErrorMessageProvider.IParserErrorContext
null
in case of lexer errors.getRecognitionException
in interface ISyntaxErrorMessageProvider.IParserErrorContext
null
in
case of lexer errors.public java.lang.String[] getTokenNames()
ISyntaxErrorMessageProvider.IParserErrorContext
getTokenNames
in interface ISyntaxErrorMessageProvider.IParserErrorContext