org.eclipse.xtext.parser.antlr
Class AbstractInternalAntlrParser.LexerErrorContext

java.lang.Object
  extended by org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.ErrorContext
      extended by org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.LexerErrorContext
All Implemented Interfaces:
ISyntaxErrorMessageProvider.IErrorContext, ISyntaxErrorMessageProvider.IParserErrorContext
Enclosing class:
AbstractInternalAntlrParser

protected class AbstractInternalAntlrParser.LexerErrorContext
extends AbstractInternalAntlrParser.ErrorContext
implements ISyntaxErrorMessageProvider.IParserErrorContext


Constructor Summary
AbstractInternalAntlrParser.LexerErrorContext(java.lang.String message)
           
 
Method Summary
 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.
 
Methods inherited from class org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.ErrorContext
getCurrentContext, getCurrentNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.xtext.parser.antlr.ISyntaxErrorMessageProvider.IErrorContext
getCurrentContext, getCurrentNode
 

Constructor Detail

AbstractInternalAntlrParser.LexerErrorContext

public AbstractInternalAntlrParser.LexerErrorContext(java.lang.String message)
Method Detail

getDefaultMessage

public java.lang.String getDefaultMessage()
Description copied from interface: ISyntaxErrorMessageProvider.IErrorContext
Provides the default error message as it is produced by the parser.

Specified by:
getDefaultMessage in interface ISyntaxErrorMessageProvider.IErrorContext
Returns:
the default message.

getRecognitionException

public org.antlr.runtime.RecognitionException getRecognitionException()
Description copied from interface: ISyntaxErrorMessageProvider.IParserErrorContext
Returns the recognition exception or null in case of lexer errors.

Specified by:
getRecognitionException in interface ISyntaxErrorMessageProvider.IParserErrorContext
Returns:
the recognition exception in the parser. May be null in case of lexer errors.

getTokenNames

public java.lang.String[] getTokenNames()
Description copied from interface: ISyntaxErrorMessageProvider.IParserErrorContext
Returns the names of the tokens in as they are used by the parser.

Specified by:
getTokenNames in interface ISyntaxErrorMessageProvider.IParserErrorContext
Returns:
the token names.