Class TreeConstructionReportImpl
- java.lang.Object
-
- org.eclipse.xtext.parsetree.reconstr.impl.TreeConstructionReportImpl
-
- All Implemented Interfaces:
IParseTreeConstructor.TreeConstructionReport
public class TreeConstructionReportImpl extends java.lang.Object implements IParseTreeConstructor.TreeConstructionReport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
TreeConstructionReportImpl.ErrorAcceptor
protected class
TreeConstructionReportImpl.TreeConstructionDiagnosticImpl
-
Field Summary
Fields Modifier and Type Field Description protected java.util.SortedSet<org.eclipse.xtext.util.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 Summary
Constructors Constructor Description TreeConstructionReportImpl()
-
Method Summary
-
-
-
Field Detail
-
deadends
protected java.util.SortedSet<org.eclipse.xtext.util.Pair<java.lang.Integer,AbstractParseTreeConstructor.AbstractToken>> deadends
-
diagnostic
protected TreeConstructionReportImpl.TreeConstructionDiagnosticImpl diagnostic
-
enumSerializer
@Inject protected ITokenSerializer.IEnumLiteralSerializer enumSerializer
-
nfaProvider
@Inject protected TreeConstructionNFAProvider nfaProvider
-
root
protected org.eclipse.emf.ecore.EObject root
-
success
protected AbstractParseTreeConstructor.AbstractToken success
-
valueSerializer
@Inject protected ITokenSerializer.IValueSerializer valueSerializer
-
-
Method Detail
-
addDeadEnd
protected void addDeadEnd(int depth, AbstractParseTreeConstructor.AbstractToken deadend)
-
checkUnconsumed
protected java.lang.String checkUnconsumed(AbstractParseTreeConstructor.AbstractToken token, IEObjectConsumer instanceDescription)
-
collectConsumedEObjects
public java.util.Set<org.eclipse.emf.ecore.EObject> collectConsumedEObjects()
-
collectDiagnostics
protected java.util.List<java.lang.String> collectDiagnostics(AbstractParseTreeConstructor.AbstractToken token)
-
createDiagnostic
protected TreeConstructionReportImpl.TreeConstructionDiagnosticImpl createDiagnostic(AbstractParseTreeConstructor.AbstractToken token)
-
getDeadends
public java.util.List<AbstractParseTreeConstructor.AbstractToken> getDeadends()
-
getDiagnosticMessage
protected java.lang.String getDiagnosticMessage(AbstractParseTreeConstructor.AbstractToken token)
-
getDiagnosticMessage
protected java.lang.String getDiagnosticMessage(AbstractParseTreeConstructor.AssignmentToken token)
-
getDiagnostics
public java.util.List<IParseTreeConstructor.TreeConstructionDiagnostic> getDiagnostics()
- Specified by:
getDiagnostics
in interfaceIParseTreeConstructor.TreeConstructionReport
-
getPreviousLocation
public org.eclipse.xtext.util.ITextRegion getPreviousLocation()
- Specified by:
getPreviousLocation
in interfaceIParseTreeConstructor.TreeConstructionReport
-
getSuccess
public AbstractParseTreeConstructor.AbstractToken getSuccess()
-
isSuccess
public boolean isSuccess()
- Specified by:
isSuccess
in interfaceIParseTreeConstructor.TreeConstructionReport
-
setPreviousLocation
public void setPreviousLocation(org.eclipse.xtext.util.ITextRegion previousLocation)
-
setRoot
public void setRoot(org.eclipse.emf.ecore.EObject root)
-
setSuccess
protected void setSuccess(AbstractParseTreeConstructor.AbstractToken succes)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-