Click or drag to resize

SequenceDefinition Class

A sequence representing a sequence definition. It must be applied with a different method than the other sequences because it requires the parameter information.
Inheritance Hierarchy

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
public abstract class SequenceDefinition : Sequence, 
	ISequenceDefinition

The SequenceDefinition type exposes the following members.

Constructors
 NameDescription
Protected methodSequenceDefinition(SequenceType, String)Initializes a new instance of the SequenceDefinition class
Protected methodSequenceDefinition(SequenceDefinition, DictionarySequenceVariable, SequenceVariable, IGraphProcessingEnvironment)Initializes a new instance of the SequenceDefinition class
Top
Properties
 NameDescription
Public propertyAnnotations The annotations of the sequence
Public propertyChildren Enumerates all child sequence objects
(Inherited from Sequence)
Public propertyChildrenBase
(Inherited from Sequence)
Public propertyExecutionState the state of executing this sequence base (a sequence base comprises sequences, sequence computations, sequence expressions)
(Inherited from SequenceBase)
Public propertyId 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)
Public propertyName 
Public propertyPrecedence
(Overrides SequenceBasePrecedence)
Public propertySymbol A string symbol representing this sequence /expression kind.
(Inherited from SequenceBase)
Top
Methods
 NameDescription
Public methodApply(IGraphProcessingEnvironment) Applies this sequence.
(Inherited from Sequence)
Public methodApply(IGraphProcessingEnvironment, Object, Object) Applies this sequence.
Protected methodApplyImpl
(Overrides SequenceApplyImpl(IGraphProcessingEnvironment))
Public methodCheck Checks the sequence for errors utilizing the given checking environment reports them by exception default behavior: check all the children
(Inherited from Sequence)
Protected methodCheckBaseObjectTypeIsKnown
(Inherited from SequenceBase)
Protected methodCheckEdgeTypeIsKnown
(Inherited from SequenceBase)
Protected methodCheckGraphElementTypeIsKnown
(Inherited from SequenceBase)
Protected methodCheckNodeTypeIsKnown
(Inherited from SequenceBase)
Public methodContains 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)
Public methodFireBeginExecutionEvent
(Inherited from SequenceBase)
Public methodFireEndExecutionEvent
(Inherited from SequenceBase)
Public methodFireEnteringSequenceEvent
(Inherited from SequenceBase)
Public methodFireExitingSequenceEvent
(Inherited from SequenceBase)
Public methodGetCurrentlyExecutedSequenceBase 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)
Public methodGetLocalVariables(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)
Protected methodGetTypeString
(Inherited from SequenceBase)
Public methodHasSequenceType
(Inherited from Sequence)
Public methodResetExecutionState Reset the execution state after a run (for following runs). The sequence to be iterated gets reset before each iteration.
(Inherited from Sequence)
Public methodSetNeedForProfiling sets for the very node the profiling flag (does not recurse)
(Inherited from SequenceBase)
Public methodSetNeedForProfilingRecursive sets for the node and all children, i.e. the entire tree the profiling flag
(Inherited from SequenceBase)
Public methodType Returns the type of the sequence, which is "boolean"
(Inherited from Sequence)
Top
Fields
 NameDescription
Protected fieldid stores the sequence /expression unique id
(Inherited from SequenceBase)
Public fieldSequenceAnnotations 
Public fieldSequenceName 
Public fieldSequenceType The type of the sequence (e.g. LazyOr or Transaction)
(Inherited from Sequence)
Top
See Also