org.eclipse.xtext.parser.antlr
Interface ISyntaxErrorMessageProvider.IParserErrorContext

All Superinterfaces:
ISyntaxErrorMessageProvider.IErrorContext
All Known Subinterfaces:
ISyntaxErrorMessageProvider.IUnorderedGroupErrorContext
All Known Implementing Classes:
AbstractInternalAntlrParser.LexerErrorContext, AbstractInternalAntlrParser.ParserErrorContext, AbstractInternalAntlrParser.UnorderedGroupErrorContext
Enclosing interface:
ISyntaxErrorMessageProvider

public static interface ISyntaxErrorMessageProvider.IParserErrorContext
extends ISyntaxErrorMessageProvider.IErrorContext

The error context for parser and lexer errors.

This interface is not intended to be implemented by clients.
This interface is not intended to be implemented by clients.

Method Summary
 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 interface org.eclipse.xtext.parser.antlr.ISyntaxErrorMessageProvider.IErrorContext
getCurrentContext, getCurrentNode, getDefaultMessage
 

Method Detail

getRecognitionException

org.antlr.runtime.RecognitionException getRecognitionException()
Returns the recognition exception or null in case of lexer errors.

Returns:
the recognition exception in the parser. May be null in case of lexer errors.

getTokenNames

java.lang.String[] getTokenNames()
Returns the names of the tokens in as they are used by the parser.

Returns:
the token names.