Class ErrorTreeAppendable
- java.lang.Object
-
- org.eclipse.xtext.xbase.compiler.output.TreeAppendable
-
- org.eclipse.xtext.xbase.compiler.output.ErrorTreeAppendable
-
- All Implemented Interfaces:
java.lang.CharSequence,org.eclipse.xtext.generator.trace.ITraceRegionProvider,org.eclipse.xtext.util.IAcceptor<java.lang.String>,IAppendable,ISourceAppender,ITreeAppendable
public class ErrorTreeAppendable extends TreeAppendable
A tree appendable capable of serializing broken type references.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.compiler.output.TreeAppendable
TreeAppendable.Visitor
-
-
Constructor Summary
Constructors Constructor Description ErrorTreeAppendable(SharedAppendableState state, org.eclipse.xtext.generator.trace.ITraceURIConverter converter, org.eclipse.xtext.resource.ILocationInFileProvider locationProvider, IJvmModelAssociations jvmModelAssociations, java.util.Set<org.eclipse.xtext.generator.trace.ILocationData> sourceLocations, boolean useForDebugging)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TreeAppendableappend(org.eclipse.xtext.common.types.JvmType type)protected TreeAppendablecreateChild(SharedAppendableState state, org.eclipse.xtext.resource.ILocationInFileProvider locationProvider, IJvmModelAssociations jvmModelAssociations, java.util.Set<org.eclipse.xtext.generator.trace.ILocationData> newData, boolean useForDebugging)protected org.eclipse.xtext.linking.lazy.LazyURIEncodergetOrCreateURIEncoder()-
Methods inherited from class org.eclipse.xtext.xbase.compiler.output.TreeAppendable
accept, acceptVisitor, append, append, append, appendIndented, appendTreeAppendable, appendUnsafe, blankLine, charAt, closeLastChild, closeScope, createAllLocationData, createLightweightTypeReferenceSerializer, createLocationData, createLocationData, declareSyntheticVariable, declareUniqueNameVariable, declareVariable, decreaseIndentation, doGetContent, dump, dump, errorChild, getChildren, getContent, getGeneratorConfig, getImports, getLocationData, getName, getObject, getState, getTraceRegion, getTraceURIConverter, hasName, hasObject, increaseIndentation, isClosed, isJava, isUseForDebugging, length, markClosed, newLine, openPseudoScope, openScope, removeName, subSequence, toString, trace, trace, trace, trace, trace, trace, trace, trace
-
-
-
-
Constructor Detail
-
ErrorTreeAppendable
public ErrorTreeAppendable(SharedAppendableState state, org.eclipse.xtext.generator.trace.ITraceURIConverter converter, org.eclipse.xtext.resource.ILocationInFileProvider locationProvider, IJvmModelAssociations jvmModelAssociations, java.util.Set<org.eclipse.xtext.generator.trace.ILocationData> sourceLocations, boolean useForDebugging)
-
-
Method Detail
-
getOrCreateURIEncoder
protected org.eclipse.xtext.linking.lazy.LazyURIEncoder getOrCreateURIEncoder()
-
append
public TreeAppendable append(org.eclipse.xtext.common.types.JvmType type)
- Specified by:
appendin interfaceIAppendable- Specified by:
appendin interfaceISourceAppender- Specified by:
appendin interfaceITreeAppendable- Overrides:
appendin classTreeAppendable
-
createChild
protected TreeAppendable createChild(SharedAppendableState state, org.eclipse.xtext.resource.ILocationInFileProvider locationProvider, IJvmModelAssociations jvmModelAssociations, java.util.Set<org.eclipse.xtext.generator.trace.ILocationData> newData, boolean useForDebugging)
- Overrides:
createChildin classTreeAppendable
-
-