 | SequenceBase Class |
The common base of sequence, sequence computation, and sequence expression objects,
with some common infrastructure.
Inheritance Hierarchy
Namespace:
de.unika.ipd.grGen.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntaxpublic abstract class SequenceBase
The SequenceBase type exposes the following members.
Constructors
Properties
| Name | Description |
---|
 | ChildrenBase |
Enumerates all child sequence computation objects
|
 | ExecutionState |
the state of executing this sequence base
(a sequence base comprises sequences, sequence computations, sequence expressions)
|
  | FireDebugEvents | |
 | 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
|
 | 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!
|
 | Symbol |
A string symbol representing this sequence /expression kind.
|
Top
Methods
| Name | Description |
---|
 | Check |
Checks the sequence /expression for errors utilizing the given checking environment
reports them by exception
|
 | CheckBaseObjectTypeIsKnown | |
 | CheckEdgeTypeIsKnown | |
 | CheckGraphElementTypeIsKnown | |
 | CheckNodeTypeIsKnown | |
 | Contains |
Returns whether the potentialChild is contained in this sequence (base).
True if potentialChild is the same as this sequence (base) (so reflexive relation).
|
  | CopyArgumentExpressionsAndArguments | |
  | CopyVars(DictionarySequenceVariable, SequenceVariable, IGraphProcessingEnvironment, ListSequenceVariable) | |
  | CopyVars(DictionarySequenceVariable, SequenceVariable, IGraphProcessingEnvironment, SequenceVariable, SequenceVariable) | |
  | FillArgumentsFromArgumentExpressions | |
  | FillReturnVariablesFromValues(SequenceVariable, IGraphProcessingEnvironment, Object) | |
  | FillReturnVariablesFromValues(SequenceVariable, IAction, IGraphProcessingEnvironment, ListObject) | |
  | FillReturnVariablesFromValues(SequenceVariable, IAction, IGraphProcessingEnvironment, ListObject, Int32) | |
 | FireBeginExecutionEvent | |
 | FireEndExecutionEvent | |
 | FireEnteringSequenceEvent | |
 | FireExitingSequenceEvent | |
  | FireFinishedEvent(IGraphProcessingEnvironment, IMatches, Boolean) | |
  | FireFinishedEvent(IGraphProcessingEnvironment, IMatches, Boolean) | |
  | FireFinishedSelectedMatchEvent | |
  | FireMatchedAfterFilteringEvent(IGraphProcessingEnvironment, IMatches, Boolean) | |
  | FireMatchedAfterFilteringEvent(IGraphProcessingEnvironment, IMatches, Boolean) | |
  | FireMatchedBeforeFilteringEvent(IGraphProcessingEnvironment, IMatches) | |
  | FireMatchedBeforeFilteringEvent(IGraphProcessingEnvironment, IMatches) | |
  | FireMatchSelectedEvent | |
  | FireRewritingSelectedMatchEvent | |
  | GetAction | |
 | 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.
|
  | GetEdgeType | |
  | GetFunction | |
  | GetLocalVariables(SequenceExpression, DictionarySequenceVariable, SetValueType, ListSequenceExpressionConstructor) | |
  | GetLocalVariables(SequenceFilterCall, DictionarySequenceVariable, SetValueType, ListSequenceExpressionConstructor) | |
  | GetLocalVariables(ListSequenceFilterCallBase, DictionarySequenceVariable, SetValueType, ListSequenceExpressionConstructor) | |
  | GetLocalVariables(SequenceFilterCallLambdaExpression, DictionarySequenceVariable, SetValueType, ListSequenceExpressionConstructor) | |
  | GetLocalVariables(SequenceVariable, DictionarySequenceVariable, SetValueType, ListSequenceExpressionConstructor) | |
 | 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.
|
  | GetNodeType | |
  | GetProcedure | |
  | GetSequence | |
 | GetTypeString | |
 | HasSequenceType | |
  | InitializeArgumentExpressionsAndArguments | |
  | InitializeReturnVariables | |
  | RemoveVariablesFallingOutOfScope | |
 | SetNeedForProfiling |
sets for the very node the profiling flag (does not recurse)
|
 | SetNeedForProfilingRecursive |
sets for the node and all children, i.e. the entire tree the profiling flag
|
 | Type |
Returns the type of the sequence /expression (for sequences always "boolean")
|
Top
Fields
See Also