Package org.eclipse.xtext.parser.antlr
Class AbstractInternalAntlrParser.UnorderedGroupErrorContext
- java.lang.Object
-
- org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.ErrorContext
-
- org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.ParserErrorContext
-
- org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.UnorderedGroupErrorContext
-
- All Implemented Interfaces:
ISyntaxErrorMessageProvider.IErrorContext
,ISyntaxErrorMessageProvider.IParserErrorContext
,ISyntaxErrorMessageProvider.IUnorderedGroupErrorContext
- Enclosing class:
- AbstractInternalAntlrParser
protected class AbstractInternalAntlrParser.UnorderedGroupErrorContext extends AbstractInternalAntlrParser.ParserErrorContext implements ISyntaxErrorMessageProvider.IUnorderedGroupErrorContext
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UnorderedGroupErrorContext(org.antlr.runtime.FailedPredicateException exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AbstractElement>
getMissingMandatoryElements()
Returns the list of mandatory elements that have not been recognized.org.antlr.runtime.FailedPredicateException
getRecognitionException()
Returns the recognition exception ornull
in case of lexer errors.-
Methods inherited from class org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.ParserErrorContext
getDefaultMessage, getTokenNames
-
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, getDefaultMessage
-
Methods inherited from interface org.eclipse.xtext.parser.antlr.ISyntaxErrorMessageProvider.IParserErrorContext
getTokenNames
-
-
-
-
Method Detail
-
getRecognitionException
public org.antlr.runtime.FailedPredicateException getRecognitionException()
Description copied from interface:ISyntaxErrorMessageProvider.IParserErrorContext
Returns the recognition exception ornull
in case of lexer errors.- Specified by:
getRecognitionException
in interfaceISyntaxErrorMessageProvider.IParserErrorContext
- Specified by:
getRecognitionException
in interfaceISyntaxErrorMessageProvider.IUnorderedGroupErrorContext
- Overrides:
getRecognitionException
in classAbstractInternalAntlrParser.ParserErrorContext
- Returns:
- the recognition exception in the parser. May be
null
in case of lexer errors.
-
getMissingMandatoryElements
public java.util.List<AbstractElement> getMissingMandatoryElements()
Description copied from interface:ISyntaxErrorMessageProvider.IUnorderedGroupErrorContext
Returns the list of mandatory elements that have not been recognized.- Specified by:
getMissingMandatoryElements
in interfaceISyntaxErrorMessageProvider.IUnorderedGroupErrorContext
- Returns:
- the list of missing mandatory elements.
-
-