![]() | SequenceExpression Class |
Namespace: de.unika.ipd.grGen.libGr
public abstract class SequenceExpression : SequenceComputation
The SequenceExpression type exposes the following members.
Name | Description | |
---|---|---|
![]() | SequenceExpression(SequenceExpression) |
Copy constructor.
|
![]() | SequenceExpression(SequenceExpressionType) |
Initializes a new SequenceExpression object with the given sequence expression type.
|
Name | Description | |
---|---|---|
![]() | Children | (Overrides SequenceComputationChildren.) |
![]() | ChildrenBase | (Inherited from SequenceComputation.) |
![]() | ChildrenExpression |
Enumerates all child sequence expression objects
|
![]() | ExecutionState |
the state of executing this sequence base
(a sequence base comprises sequences, sequence computations, sequence expressions)
(Inherited from SequenceBase.) |
![]() | Id |
returns the sequence /expresion id - every sequence /expression is assigned a unique id that is used in xgrs code generation and in sequence rendering
for copies a new id is generated, too, this does not cause problems as code is only generated once per defined sequence
(Inherited from SequenceBase.) |
![]() | Precedence |
The precedence of this operator. Zero is the highest priority, int.MaxValue the lowest.
Used to add needed parentheses for printing sequences /expressions
TODO: WTF? das ist im Parser genau umgekehrt implementiert!
(Inherited from SequenceBase.) |
![]() | ReturnsValue | (Overrides SequenceComputationReturnsValue.) |
![]() | Symbol |
A string symbol representing this sequence /expression kind.
(Inherited from SequenceBase.) |
Name | Description | |
---|---|---|
![]() | Check |
Checks the sequence computation for errors utilizing the given checking environment
reports them by exception
default behavior: check all the children
(Inherited from SequenceComputation.) |
![]() | CheckBaseObjectTypeIsKnown | (Inherited from SequenceBase.) |
![]() | CheckEdgeTypeIsKnown | (Inherited from SequenceBase.) |
![]() | CheckGraphElementTypeIsKnown | (Inherited from SequenceBase.) |
![]() | CheckNodeTypeIsKnown | (Inherited from SequenceBase.) |
![]() | Contains |
Returns whether the potentialChild is contained in this sequence (base).
True if potentialChild is the same as this sequence (base) (so reflexive relation).
(Inherited from SequenceBase.) |
![]() | Evaluate |
Evaluates this sequence expression.
Implemented by calling execute, every expression is a computation.
|
![]() | Execute |
Executes this sequence computation.
(Inherited from SequenceComputation.) |
![]() | ExecuteImpl |
Executes this sequence computation. This function represents the actual implementation of the sequence.
(Inherited from SequenceComputation.) |
![]() | FireBeginExecutionEvent | (Inherited from SequenceBase.) |
![]() | FireEndExecutionEvent | (Inherited from SequenceBase.) |
![]() | FireEnteringSequenceEvent | (Inherited from SequenceBase.) |
![]() | FireExitingSequenceEvent | (Inherited from SequenceBase.) |
![]() | GetCurrentlyExecutedSequenceBase |
Returns the innermost sequence base beneath this as root
which gets currently executed (for sequences on call stack this is the call).
A path in the sequence tree gets executed, the innermost is the important one.
(Inherited from SequenceBase.) |
![]() | GetLocalVariables(DictionarySequenceVariable, SetValueType, ListSequenceExpressionConstructor) |
Collects all variables of the sequence expression tree into the variables dictionary,
and all container and internal object constructors used into the constructors array.
(Inherited from SequenceComputation.) |
![]() | GetLocalVariables(DictionarySequenceVariable, SetValueType, ListSequenceExpressionConstructor, SequenceBase) |
Walks the sequence tree from this on to the given target sequence base (inclusive),
collecting all variables found on the way into the variables dictionary,
and all container and object type constructors used into the constructors array.
(Inherited from SequenceBase.) |
![]() | GetOperationType | |
![]() | GetTypeString | (Inherited from SequenceBase.) |
![]() | HasSequenceType | (Overrides SequenceComputationHasSequenceType(SequenceType).) |
![]() | IsNumericType | |
![]() | SetNeedForProfiling |
sets for the very node the profiling flag (does not recurse)
(Inherited from SequenceBase.) |
![]() | SetNeedForProfilingRecursive |
sets for the node and all children, i.e. the entire tree the profiling flag
(Inherited from SequenceBase.) |
![]() | Type |
Returns the type of the sequence expression
default behaviour: returns "boolean"
(Overrides SequenceComputationType(SequenceCheckingEnvironment).) |
Name | Description | |
---|---|---|
![]() | id |
stores the sequence /expression unique id
(Inherited from SequenceBase.) |
![]() | SequenceComputationType |
The type of the sequence computation (e.g. Assignment or MethodCall)
(Inherited from SequenceComputation.) |
![]() | SequenceExpressionType |
The type of the sequence expression (e.g. Variable or IsVisited)
|