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 protectedUnorderedGroupErrorContext(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.FailedPredicateExceptiongetRecognitionException()Returns the recognition exception ornullin 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.IParserErrorContextReturns the recognition exception ornullin case of lexer errors.- Specified by:
getRecognitionExceptionin interfaceISyntaxErrorMessageProvider.IParserErrorContext- Specified by:
getRecognitionExceptionin interfaceISyntaxErrorMessageProvider.IUnorderedGroupErrorContext- Overrides:
getRecognitionExceptionin classAbstractInternalAntlrParser.ParserErrorContext- Returns:
- the recognition exception in the parser. May be
nullin case of lexer errors.
-
getMissingMandatoryElements
public java.util.List<AbstractElement> getMissingMandatoryElements()
Description copied from interface:ISyntaxErrorMessageProvider.IUnorderedGroupErrorContextReturns the list of mandatory elements that have not been recognized.- Specified by:
getMissingMandatoryElementsin interfaceISyntaxErrorMessageProvider.IUnorderedGroupErrorContext- Returns:
- the list of missing mandatory elements.
-
-