Modifier and type | Property and description |
---|---|
int | actionIndex
Replies the index of the late created action. |
int | behaviorUnitIndex
Replies the index of the last created behavior unit. |
org.eclipse.emf.ecore.EObject | contextObject
Replies the context object. |
java.util.Set<E> | generatedCapacityUseFields
Replies the capacities for which capacity-use fields are generated. |
java.util.Map<K,V> | generatedConstructors
Replies the collection of the generated constructor. |
org.eclipse.xtext.xbase.compiler.GeneratorConfig | generatorConfig
Replies the generator configuration. |
GeneratorConfig2 | generatorConfig2
Replies the generator configuration v2. |
java.util.Collection<E> | guardEvaluationCodes
Replies the guard evaluation code for the given event. |
java.util.Map<K,V> | inheritedFinalOperations
Replies the collection of the inherited final operations. |
java.util.Map<K,V> | inheritedOperationsToImplement
Replies the collection of the inherited operations that are not yet implemented. |
java.util.Map<K,V> | inheritedOverridableOperations
Replies the collection of the inherited overridable operations. |
int | localTypeIndex
Replies the index of the late created local type. |
GenerationContext | parentContext
Replies the parent context if any. |
java.util.List<E> | postFinalizationElements
Replies the collection of the elements that must be generated after the generation process of the current SARL element. |
java.util.List<E> | preFinalizationElements
Replies the collection of the elements that must be generated at the end of the generation process. |
long | serial
Replies the computed serial number. |
org.eclipse.xtext.common.types.JvmDeclaredType | type
Replies the associated type. |
java.lang.String | typeIdentifier
Replies the identifier of the associated type. |
Modifier and type | Type and description |
---|---|
record | GenerationContext.BehaviorUnitGuardEvaluators
Define a group of guard evaluators. |
Modifier and type | Action and description |
---|---|
void | addGeneratedCapacityUseField(String)
Add a capacity for which a capacity-use field is generated. |
void | addGeneratedConstructor(ActionParameterTypes,JvmConstructor)
Add a generated constructor into the context. |
void | addUserObject(String,Object)
Add a user data associated to the given id. |
java.lang.Iterable<T> | consumeUserObject(String)
Consume the user data associated to the given id. |
java.lang.Iterable<T> | consumeUserObject(String,Class<T>)
Consume the user data associated to the given id. |
void | doLocalOperationDefinition(ActionPrototype,JvmOperation)
Register a locally defined operation. |
java.util.Collection<E> | ensureGuardEvaluationCodeFor(SarlBehaviorUnit,TypeReferences)
Create and replies the guard evaluation code for the given event. |
int | getActionIndex
Replies the index of the late created action. |
IActionPrototypeContext | getActionPrototypeContext(IActionPrototypeProvider)
Get the context for the action prototype provider. |
int | getBehaviorUnitIndex
Replies the index of the last created behavior unit. |
org.eclipse.emf.ecore.EObject | getContextObject
Replies the context object. |
org.eclipse.xtext.common.types.JvmOperation | getDefinedOperation(ActionPrototype)
Replies the locally or inherited operation. |
java.util.Set<E> | getGeneratedCapacityUseFields
Replies the capacities for which capacity-use fields are generated. |
java.util.Map<K,V> | getGeneratedConstructors
Replies the collection of the generated constructor. |
org.eclipse.xtext.xbase.compiler.GeneratorConfig | getGeneratorConfig
Replies the generator configuration. |
GeneratorConfig2 | getGeneratorConfig2
Replies the generator configuration v2. |
java.util.Collection<E> | getGuardEvaluationCodes
Replies the guard evaluation code for the given event. |
java.util.Map<K,V> | getInheritedFinalOperations
Replies the collection of the inherited final operations. |
org.eclipse.xtext.common.types.JvmOperation | getInheritedImplementedOperation(ActionPrototype)
Replies the inherited and implemented operation with the given prototype. |
org.eclipse.xtext.common.types.JvmOperation | getInheritedOperation(ActionPrototype)
Replies the inherited operation with the given prototype. |
java.util.Map<K,V> | getInheritedOperationsToImplement
Replies the collection of the inherited operations that are not yet implemented. |
java.util.Map<K,V> | getInheritedOverridableOperations
Replies the collection of the inherited overridable operations. |
org.eclipse.xtext.common.types.JvmOperation | getLocalOperation(ActionPrototype)
Replies the operation with the given prototype that is locally defined. |
int | getLocalTypeIndex
Replies the index of the late created local type. |
GenerationContext | getParentContext
Replies the parent context if any. |
java.util.List<E> | getPostFinalizationElements
Replies the collection of the elements that must be generated after the generation process of the current SARL element. |
java.util.List<E> | getPreFinalizationElements
Replies the collection of the elements that must be generated at the end of the generation process. |
long | getSerial
Replies the computed serial number. |
org.eclipse.xtext.common.types.JvmDeclaredType | getType
Replies the associated type. |
java.lang.String | getTypeIdentifier
Replies the identifier of the associated type. |
boolean | hasConstructor
Replies if a constructor is generated. |
protected static boolean | hasInjectAnnotation(JvmAnnotationTarget)
Replies if the given target has the Inject annotation. |
void | incrementSerial(long)
Increment the serial number by the given ammount. |
boolean | isInjectable
Replies if the generated type is injectable. |
boolean | isMainFunctionGenerated
Replies if a main function (with the standard prototype) is generated from the source code or as synthetic. |
boolean | isMainFunctionManuallyDefined
Replies if a main function (with the standard prototype) is defined in the source code. |
boolean | isRelease
Replies if this context is released. |
abstract boolean | isSupportedMember(XtendMember)
Replies if the given member is supported in the current context. |
void | release
Release any allocated resource. |
void | setActionIndex(int)
Set the index of the late created action. |
void | setBehaviorUnitIndex(int)
Replies the index of the last created behavior unit. |
void | setInjectable(boolean)
Change the flag that indicates if the generated type is injectable. |
void | setInjectable(JvmAnnotationTarget)
Change the flag that indicates if the given element is injected. |
void | setInjectable(JvmTypeReference)
Change the flag that indicates if the given element is injected. |
void | setLocalTypeIndex(int)
Set the index of the late created local type. |
void | setParentContext(GenerationContext)
Change the parent context if any. |
java.lang.String | toString |
var actionIndex : int
This property is an alias for the action: getActionIndex
var behaviorUnitIndex : int
This property is an alias for the action: getBehaviorUnitIndex
val contextObject : org.eclipse.emf.ecore.EObject
This property is an alias for the action: getContextObject
val generatedCapacityUseFields : java.util.Set<E>
This property is an alias for the action: getGeneratedCapacityUseFields
val generatedConstructors : java.util.Map<K,V>
This property is an alias for the action: getGeneratedConstructors
val generatorConfig : org.eclipse.xtext.xbase.compiler.GeneratorConfig
This property is an alias for the action: getGeneratorConfig
val generatorConfig2 : GeneratorConfig2
This property is an alias for the action: getGeneratorConfig2
val guardEvaluationCodes : java.util.Collection<E>
This property is an alias for the action: getGuardEvaluationCodes
val inheritedFinalOperations : java.util.Map<K,V>
This property is an alias for the action: getInheritedFinalOperations
val inheritedOperationsToImplement : java.util.Map<K,V>
This property is an alias for the action: getInheritedOperationsToImplement
val inheritedOverridableOperations : java.util.Map<K,V>
This property is an alias for the action: getInheritedOverridableOperations
var localTypeIndex : int
This property is an alias for the action: getLocalTypeIndex
var parentContext : GenerationContext
This property is an alias for the action: getParentContext
val postFinalizationElements : java.util.List<E>
This property is an alias for the action: getPostFinalizationElements
val preFinalizationElements : java.util.List<E>
This property is an alias for the action: getPreFinalizationElements
val serial : long
This property is an alias for the action: getSerial
val type : org.eclipse.xtext.common.types.JvmDeclaredType
This property is an alias for the action: getType
val typeIdentifier : java.lang.String
This property is an alias for the action: getTypeIdentifier
def addGeneratedCapacityUseField(String)
def addGeneratedConstructor(ActionParameterTypes,JvmConstructor)
def addUserObject(String,Object)
def consumeUserObject(String) : java.lang.Iterable<T>
def consumeUserObject(String,Class<T>) : java.lang.Iterable<T>with T
def doLocalOperationDefinition(ActionPrototype,JvmOperation)
def ensureGuardEvaluationCodeFor(SarlBehaviorUnit,TypeReferences) : java.util.Collection<E>
def getActionIndex : int
def getActionPrototypeContext(IActionPrototypeProvider) : IActionPrototypeContext
def getBehaviorUnitIndex : int
def getContextObject : org.eclipse.emf.ecore.EObject
def getDefinedOperation(ActionPrototype) : org.eclipse.xtext.common.types.JvmOperation
def getGeneratedCapacityUseFields : java.util.Set<E>
def getGeneratedConstructors : java.util.Map<K,V>
def getGeneratorConfig : org.eclipse.xtext.xbase.compiler.GeneratorConfig
def getGeneratorConfig2 : GeneratorConfig2
def getGuardEvaluationCodes : java.util.Collection<E>
def getInheritedFinalOperations : java.util.Map<K,V>
def getInheritedImplementedOperation(ActionPrototype) : org.eclipse.xtext.common.types.JvmOperation
def getInheritedOperation(ActionPrototype) : org.eclipse.xtext.common.types.JvmOperation
def getInheritedOperationsToImplement : java.util.Map<K,V>
def getInheritedOverridableOperations : java.util.Map<K,V>
def getLocalOperation(ActionPrototype) : org.eclipse.xtext.common.types.JvmOperation
def getLocalTypeIndex : int
def getParentContext : GenerationContext
def getPostFinalizationElements : java.util.List<E>
def getPreFinalizationElements : java.util.List<E>
def getSerial : long
def getType : org.eclipse.xtext.common.types.JvmDeclaredType
def getTypeIdentifier : java.lang.String
def hasConstructor : boolean
protected def hasInjectAnnotation(JvmAnnotationTarget) : boolean
Inject
annotation.
def incrementSerial(long)
def isInjectable : boolean
def isMainFunctionGenerated : boolean
def isMainFunctionManuallyDefined : boolean
def isRelease : boolean
def isSupportedMember(XtendMember) : boolean
def release
def setActionIndex(int)
def setBehaviorUnitIndex(int)
def setInjectable(boolean)
def setInjectable(JvmAnnotationTarget)
def setInjectable(JvmTypeReference)
def setLocalTypeIndex(int)
def setParentContext(GenerationContext)
def toString : java.lang.String