Click or drag to resize

SequenceBinaryExpression Class

A sequence binary expression object with references to the left and right child sequence expressions.
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.libGrSequenceBase
    de.unika.ipd.grGen.libGrSequenceComputation
      de.unika.ipd.grGen.libGrSequenceExpression
        de.unika.ipd.grGen.libGrSequenceBinaryExpression
          More...

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public abstract class SequenceBinaryExpression : SequenceExpression

The SequenceBinaryExpression type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyChildren (Inherited from SequenceExpression.)
Public propertyChildrenBase (Inherited from SequenceComputation.)
Public propertyChildrenExpression
Enumerates all child sequence expression objects
(Overrides SequenceExpressionChildrenExpression.)
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 propertyOperator
Returns the operator of this binary expression (enclosed in spaces); abstract property, to be overwritten by concrete operator symbol
Public propertyPrecedence
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.)
Public propertyReturnsValue (Inherited from SequenceExpression.)
Public propertySymbol
Returns this expression as string, in the form of left expression then operator then right expression; same for all binary expressions
(Overrides SequenceBaseSymbol.)
Top
Methods
  NameDescription
Protected methodBalanceIfStaticallyUnknown
Public methodCheck (Overrides SequenceComputationCheck(SequenceCheckingEnvironment).)
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 methodEvaluate
Evaluates this sequence expression. Implemented by calling execute, every expression is a computation.
(Inherited from SequenceExpression.)
Public methodExecute
Executes this sequence computation.
(Inherited from SequenceComputation.)
Public methodExecuteImpl
Executes this sequence computation. This function represents the actual implementation of the sequence.
(Inherited from SequenceComputation.)
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) (Overrides SequenceComputationGetLocalVariables(DictionarySequenceVariable, SetValueType, ListSequenceExpressionConstructor).)
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 methodGetOperationType (Inherited from SequenceExpression.)
Protected methodGetTypeString (Inherited from SequenceBase.)
Public methodHasSequenceType (Inherited from SequenceExpression.)
Protected methodIsNumericType (Inherited from SequenceExpression.)
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 expression default behaviour: returns "boolean"
(Inherited from SequenceExpression.)
Top
Fields
  NameDescription
Public fieldBalancedTypeStatic
Protected fieldid
stores the sequence /expression unique id
(Inherited from SequenceBase.)
Public fieldLeft
Public fieldLeftTypeStatic
Public fieldRight
Public fieldRightTypeStatic
Public fieldSequenceComputationType
The type of the sequence computation (e.g. Assignment or MethodCall)
(Inherited from SequenceComputation.)
Public fieldSequenceExpressionType
The type of the sequence expression (e.g. Variable or IsVisited)
(Inherited from SequenceExpression.)
Top
See Also
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.libGrSequenceBase
    de.unika.ipd.grGen.libGrSequenceComputation
      de.unika.ipd.grGen.libGrSequenceExpression
        de.unika.ipd.grGen.libGrSequenceBinaryExpression
          de.unika.ipd.grGen.libGrSequenceExpressionDiv
          de.unika.ipd.grGen.libGrSequenceExpressionEqual
          de.unika.ipd.grGen.libGrSequenceExpressionExcept
          de.unika.ipd.grGen.libGrSequenceExpressionGreater
          de.unika.ipd.grGen.libGrSequenceExpressionGreaterEqual
          de.unika.ipd.grGen.libGrSequenceExpressionLazyAnd
          de.unika.ipd.grGen.libGrSequenceExpressionLazyOr
          de.unika.ipd.grGen.libGrSequenceExpressionLower
          de.unika.ipd.grGen.libGrSequenceExpressionLowerEqual
          de.unika.ipd.grGen.libGrSequenceExpressionMinus
          de.unika.ipd.grGen.libGrSequenceExpressionMod
          de.unika.ipd.grGen.libGrSequenceExpressionMul
          de.unika.ipd.grGen.libGrSequenceExpressionNotEqual
          de.unika.ipd.grGen.libGrSequenceExpressionPlus
          de.unika.ipd.grGen.libGrSequenceExpressionShiftLeft
          de.unika.ipd.grGen.libGrSequenceExpressionShiftRight
          de.unika.ipd.grGen.libGrSequenceExpressionShiftRightUnsigned
          de.unika.ipd.grGen.libGrSequenceExpressionStrictAnd
          de.unika.ipd.grGen.libGrSequenceExpressionStrictOr
          de.unika.ipd.grGen.libGrSequenceExpressionStrictXor
          de.unika.ipd.grGen.libGrSequenceExpressionStructuralEqual