GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
SequenceBase Class
Namespacesde.unika.ipd.grGen.libGrSequenceBase
The common base of sequence, sequence computation, and sequence expression objects, with some common infrastructure.
Declaration Syntax
C#
public abstract class SequenceBase
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
SequenceBase()()()()
Initializes a new instance of the SequenceBase class

Check(SequenceCheckingEnvironment)
Checks the sequence /expression for errors utilizing the given checking environment reports them by exception

ChildrenBase
Enumerates all child sequence computation objects

id
stores the sequence /expression unique id

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

idSource
the static member used to assign the unique ids to the sequence /expression instances

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!

randomGenerator
A common random number generator for all sequence /expression objects. It uses a time-dependent seed.

SetNeedForProfiling(Boolean)
sets for the very node the profiling flag (does not recurse)

SetNeedForProfilingRecursive(Boolean)
sets for the node and all children, i.e. the entire tree the profiling flag

Symbol
A string symbol representing this sequence /expression kind.

Type(SequenceCheckingEnvironment)
Returns the type of the sequence /expression (for sequences always "boolean")

Inheritance Hierarchy

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