public class TreeConstructionReportImpl extends java.lang.Object implements IParseTreeConstructor.TreeConstructionReport
Modifier and Type | Class and Description |
---|---|
protected class |
TreeConstructionReportImpl.ErrorAcceptor |
protected class |
TreeConstructionReportImpl.TreeConstructionDiagnosticImpl |
Modifier and Type | Field and Description |
---|---|
protected java.util.SortedSet<Pair<java.lang.Integer,AbstractParseTreeConstructor.AbstractToken>> |
deadends |
protected TreeConstructionReportImpl.TreeConstructionDiagnosticImpl |
diagnostic |
protected ITokenSerializer.IEnumLiteralSerializer |
enumSerializer |
protected TreeConstructionNFAProvider |
nfaProvider |
protected org.eclipse.emf.ecore.EObject |
root |
protected AbstractParseTreeConstructor.AbstractToken |
success |
protected ITokenSerializer.IValueSerializer |
valueSerializer |
Constructor and Description |
---|
TreeConstructionReportImpl() |
protected java.util.SortedSet<Pair<java.lang.Integer,AbstractParseTreeConstructor.AbstractToken>> deadends
protected TreeConstructionReportImpl.TreeConstructionDiagnosticImpl diagnostic
@Inject protected ITokenSerializer.IEnumLiteralSerializer enumSerializer
@Inject protected TreeConstructionNFAProvider nfaProvider
protected org.eclipse.emf.ecore.EObject root
protected AbstractParseTreeConstructor.AbstractToken success
@Inject protected ITokenSerializer.IValueSerializer valueSerializer
protected void addDeadEnd(int depth, AbstractParseTreeConstructor.AbstractToken deadend)
protected java.lang.String checkUnconsumed(AbstractParseTreeConstructor.AbstractToken token, IEObjectConsumer instanceDescription)
public java.util.Set<org.eclipse.emf.ecore.EObject> collectConsumedEObjects()
protected java.util.List<java.lang.String> collectDiagnostics(AbstractParseTreeConstructor.AbstractToken token)
protected TreeConstructionReportImpl.TreeConstructionDiagnosticImpl createDiagnostic(AbstractParseTreeConstructor.AbstractToken token)
public java.util.List<AbstractParseTreeConstructor.AbstractToken> getDeadends()
protected java.lang.String getDiagnosticMessage(AbstractParseTreeConstructor.AbstractToken token)
protected java.lang.String getDiagnosticMessage(AbstractParseTreeConstructor.AssignmentToken token)
public java.util.List<IParseTreeConstructor.TreeConstructionDiagnostic> getDiagnostics()
getDiagnostics
in interface IParseTreeConstructor.TreeConstructionReport
public ITextRegion getPreviousLocation()
getPreviousLocation
in interface IParseTreeConstructor.TreeConstructionReport
public AbstractParseTreeConstructor.AbstractToken getSuccess()
public boolean isSuccess()
isSuccess
in interface IParseTreeConstructor.TreeConstructionReport
public void setPreviousLocation(ITextRegion previousLocation)
public void setRoot(org.eclipse.emf.ecore.EObject root)
protected void setSuccess(AbstractParseTreeConstructor.AbstractToken succes)
public java.lang.String toString()
toString
in class java.lang.Object