io.sarl.lang.util
Class DelegateTreeAppendable
All Superinterfaces:
org.eclipse.xtext.generator.trace.ITraceRegionProvider, org.eclipse.xtext.xbase.compiler.IAppendable, org.eclipse.xtext.xbase.compiler.ISourceAppender, org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
All Known Subclasses:
ContextAwareTreeAppendable
class DelegateTreeAppendable
extends java.lang.Object
implements org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
A delegating tree appendable.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.8.6
Property Summary
Modifier and type Property and description
java.lang.String content
org.eclipse.xtext.xbase.compiler.GeneratorConfig generatorConfig
java.util.List<E> imports
Deprecated since 0.10: imports are handled by external components.
org.eclipse.xtext.generator.trace.AbstractTraceRegion traceRegion
Constructor Summary
Constructor and description
new(ITreeAppendable)
Constructor.
Action Summary
Modifier and type Action and description
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable append(CharSequence)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable append(Class<T>)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable append(JvmType)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable append(LightweightTypeReference)
void closeScope
protected org.eclipse.xtext.xbase.compiler.output.ITreeAppendable createDelegateToChild(ITreeAppendable)
Create a child appendable.
java.lang.String declareSyntheticVariable(Object,String)
java.lang.String declareUniqueNameVariable(Object,String)
java.lang.String declareVariable(Object,String)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable decreaseIndentation
org.eclipse.xtext.xbase.compiler.output.ErrorTreeAppendable errorChild
java.lang.String getContent
org.eclipse.xtext.xbase.compiler.GeneratorConfig getGeneratorConfig
java.util.List<E> getImports
Deprecated since 0.10: imports are handled by external components.
java.lang.String getName(Object)
java.lang.Object getObject(String)
org.eclipse.xtext.generator.trace.AbstractTraceRegion getTraceRegion
boolean hasName(Object)
boolean hasObject(String)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable increaseIndentation
boolean isJava
int length
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable newLine
void openPseudoScope
void openScope
java.lang.String removeName(Object)
java.lang.String toString
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable trace(Iterable<T>)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable trace(EObject)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable trace(ILocationData)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable trace(EObject,boolean)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable trace(ILocationData,boolean)
org.eclipse.xtext.xbase.compiler.output.ITreeAppendable trace(EObject,EStructuralFeature,int)
Property Details
content
val content : java.lang.String

This property is an alias for the action: getContent

generatorConfig
val generatorConfig : org.eclipse.xtext.xbase.compiler.GeneratorConfig

This property is an alias for the action: getGeneratorConfig

imports
val imports : java.util.List<E>

This property is an alias for the action: getImports

Deprecated:
imports are handled by external components.
traceRegion
val traceRegion : org.eclipse.xtext.generator.trace.AbstractTraceRegion

This property is an alias for the action: getTraceRegion

Constructor Details
new(ITreeAppendable)
new(ITreeAppendable)
Constructor.
Parameters:
delegate - the appendable to delegate to.
Action Details
append(CharSequence)
def append(CharSequence) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
append(Class<T>)
def append(Class<T>) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
append(JvmType)
def append(JvmType) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
append(LightweightTypeReference)
def append(LightweightTypeReference) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
closeScope
def closeScope
createDelegateToChild(ITreeAppendable)
protected def createDelegateToChild(ITreeAppendable) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
Create a child appendable.
Parameters:
child - the child to delegate to.
Returns:
the child.
declareSyntheticVariable(Object,String)
def declareSyntheticVariable(Object,String) : java.lang.String
declareUniqueNameVariable(Object,String)
def declareUniqueNameVariable(Object,String) : java.lang.String
declareVariable(Object,String)
def declareVariable(Object,String) : java.lang.String
decreaseIndentation
def decreaseIndentation : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
errorChild
def errorChild : org.eclipse.xtext.xbase.compiler.output.ErrorTreeAppendable
getContent
def getContent : java.lang.String
getGeneratorConfig
def getGeneratorConfig : org.eclipse.xtext.xbase.compiler.GeneratorConfig
getImports
def getImports : java.util.List<E>
Deprecated:
imports are handled by external components.
getName(Object)
def getName(Object) : java.lang.String
getObject(String)
def getObject(String) : java.lang.Object
getTraceRegion
def getTraceRegion : org.eclipse.xtext.generator.trace.AbstractTraceRegion

throws org.eclipse.xtext.generator.trace.TraceNotFoundException

hasName(Object)
def hasName(Object) : boolean
hasObject(String)
def hasObject(String) : boolean
increaseIndentation
def increaseIndentation : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
isJava
def isJava : boolean
length
def length : int
newLine
def newLine : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
openPseudoScope
def openPseudoScope
openScope
def openScope
removeName(Object)
def removeName(Object) : java.lang.String

throws java.lang.IllegalStateException

toString
def toString : java.lang.String
trace(Iterable<T>)
def trace(Iterable<T>) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
trace(EObject)
def trace(EObject) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
trace(ILocationData)
def trace(ILocationData) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
trace(EObject,boolean)
def trace(EObject,boolean) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
trace(ILocationData,boolean)
def trace(ILocationData,boolean) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
trace(EObject,EStructuralFeature,int)
def trace(EObject,EStructuralFeature,int) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable