GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
SequenceExpression Class
Namespacesde.unika.ipd.grGen.libGrSequenceExpression
A sequence expression object with references to child sequence expressions. A sequence expression is a side effect free computation returning a value (a query).
Declaration Syntax
C#
public abstract class SequenceExpression : SequenceComputation
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
SequenceExpression(SequenceExpressionType)
Initializes a new SequenceExpression object with the given sequence expression type.

Check(SequenceCheckingEnvironment)
Checks the sequence computation for errors utilizing the given checking environment reports them by exception default behavior: check all the children
(Inherited from SequenceComputation.)
Children (Overrides SequenceComputation.Children.)
ChildrenBase (Inherited from SequenceComputation.)
ChildrenExpression
Enumerates all child sequence expression objects

Evaluate(IGraphProcessingEnvironment)
Evaluates this sequence expression. Implemented by calling execute, every expression is a computation.

Execute(IGraphProcessingEnvironment)
Executes this sequence computation.
(Inherited from SequenceComputation.)
GetLocalVariables(Dictionary<(Of <<'(SequenceVariable, SetValueType>)>>), List<(Of <<'(SequenceExpressionContainerConstructor>)>>))
Collects all variables of the sequence expression tree into the variables dictionary, and all container constructors used into the constructors array.
(Inherited from SequenceComputation.)
id
stores the sequence /expression unique id
(Inherited from SequenceBase.)
Id
returns the sequence /expresion id - every sequence /expression is assigned a unique id used in xgrs code generation for copies the old id is just taken over, 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 SequenceComputation.ReturnsValue.)
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)

SetNeedForProfiling(Boolean)
sets for the very node the profiling flag (does not recurse)
(Inherited from SequenceBase.)
SetNeedForProfilingRecursive(Boolean)
sets for the node and all children, i.e. the entire tree the profiling flag
(Inherited from SequenceBase.)
Symbol
A string symbol representing this sequence /expression kind.
(Inherited from SequenceBase.)
Type(SequenceCheckingEnvironment)
Returns the type of the sequence expression default behaviour: returns "boolean"
(Overrides SequenceComputation.Type(SequenceCheckingEnvironment).)
Inheritance Hierarchy
Object
SequenceBase
 SequenceComputation
  SequenceExpression
   SequenceBinaryExpression
   SequenceExpressionAdjacentIncident
   SequenceExpressionAttributeAccess
   SequenceExpressionBoundedReachable
   SequenceExpressionBoundedReachableWithRemainingDepth
   SequenceExpressionCanonize
   SequenceExpressionCast
   SequenceExpressionConditional
   SequenceExpressionConstant
   SequenceExpressionContainer
   SequenceExpressionContainerAccess
   SequenceExpressionContainerConstructor
   SequenceExpressionCopy
   SequenceExpressionCountAdjacentIncident
   SequenceExpressionCountBoundedReachable
   SequenceExpressionCountEdges
   SequenceExpressionCountNodes
   SequenceExpressionCountReachable
   SequenceExpressionDef
   SequenceExpressionDefinedSubgraph
   SequenceExpressionEdgeByName
   SequenceExpressionEdgeByUnique
   SequenceExpressionEdges
   SequenceExpressionElementFromGraph
   SequenceExpressionEmpty
   SequenceExpressionEqualsAny
   SequenceExpressionExistsFile
   SequenceExpressionFunctionCall
   SequenceExpressionImport
   SequenceExpressionInContainer
   SequenceExpressionInducedSubgraph
   SequenceExpressionIsAdjacentIncident
   SequenceExpressionIsBoundedReachable
   SequenceExpressionIsReachable
   SequenceExpressionIsVisited
   SequenceExpressionMatchAccess
   SequenceExpressionNameof
   SequenceExpressionNodeByName
   SequenceExpressionNodeByUnique
   SequenceExpressionNodes
   SequenceExpressionNot
   SequenceExpressionNow
   SequenceExpressionOpposite
   SequenceExpressionRandom
   SequenceExpressionReachable
   SequenceExpressionSize
   SequenceExpressionSource
   SequenceExpressionTarget
   SequenceExpressionThis
   SequenceExpressionTypeof
   SequenceExpressionUniqueof
   SequenceExpressionVariable

Assembly: libGr (Module: libGr) Version: 4.4.0.0 (4.4.0.0)