![]() | Sequence Class |
Namespace: de.unika.ipd.grGen.libGr
public abstract class Sequence : SequenceBase
The Sequence type exposes the following members.
Name | Description | |
---|---|---|
![]() | Sequence(Sequence) |
Copy constructor.
|
![]() | Sequence(SequenceType) |
Initializes a new Sequence object with the given sequence type.
|
Name | Description | |
---|---|---|
![]() | Children |
Enumerates all child sequence objects
|
![]() | ChildrenBase | (Overrides SequenceBaseChildrenBase.) |
![]() | 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.) |
![]() | Symbol |
A string symbol representing this sequence /expression kind.
(Inherited from SequenceBase.) |
Name | Description | |
---|---|---|
![]() | Apply |
Applies this sequence.
|
![]() | ApplyImpl |
Applies this sequence. This function represents the actual implementation of the sequence.
|
![]() | Check |
Checks the sequence for errors utilizing the given checking environment
reports them by exception
default behavior: check all the children
(Overrides SequenceBaseCheck(SequenceCheckingEnvironment).) |
![]() | 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.) |
![]() | 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, 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.) |
![]() | GetTypeString | (Inherited from SequenceBase.) |
![]() | HasSequenceType | (Overrides SequenceBaseHasSequenceType(SequenceType).) |
![]() | ResetExecutionState |
Reset the execution state after a run (for following runs).
The sequence to be iterated gets reset before each iteration.
|
![]() | 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, which is "boolean"
(Overrides SequenceBaseType(SequenceCheckingEnvironment).) |
Name | Description | |
---|---|---|
![]() | id |
stores the sequence /expression unique id
(Inherited from SequenceBase.) |
![]() | SequenceType |
The type of the sequence (e.g. LazyOr or Transaction)
|