GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
PatternElement Class
Namespacesde.unika.ipd.grGen.lgspPatternElement
An element of a rule pattern.
Declaration Syntax
C#
public abstract class PatternElement : IPatternElement
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
PatternElement(Int32, String, String, String, array<GrGenType>[]()[][], array<Boolean>[]()[][], Single, Int32, Boolean, StorageAccess, StorageAccessIndex, IndexAccess, NameLookup, UniqueLookup, PatternElement, Boolean, Expression)
Instantiates a new PatternElement object.

PatternElement(PatternElement, PatternGraphEmbedding, PatternGraph, String)
Instantiates a new PatternElement object as a copy from an original element, used for subpattern inlining.

PatternElement(PatternElement, String)
Instantiates a new PatternElement object as a copy from an original element, used for independent inlining.

AllowedTypes
An array of allowed types for this pattern element. If it is null, all subtypes of the type specified by typeID (including itself) are allowed for this pattern element.

annotations
The annotations of the pattern element

Annotations
The annotations of the pattern element

AssignmentSource
If not null this pattern element is to be bound by assigning the given assignmentSource to the pattern element. This is needed to fill the pattern parameters of a pattern embedding which was inlined.

Cost
Default cost/priority from frontend, user priority if given.

defToBeYieldedTo
Iff true the element is only defined in its PointOfDefinition pattern, it gets matched in another, nested or called pattern which yields it to the containing pattern.

DefToBeYieldedTo
Iff true the element is only defined in its PointOfDefinition pattern, it gets matched in another, nested or called pattern which yields it to the containing pattern.

ElementBeforeCasting
If not null this pattern element is to be bound by casting the given ElementBeforeCasting to the pattern element type or causing matching to fail.

GetPatternElementThisElementDependsOnOutsideOfGraphConnectedness()()()()
Returns the pattern element we depend on, for a storage lookup, or an indexed storage lookup, or an index lookup

IndexAccess
If not null this pattern element is to be determined by an index lookup, with details specified by the concrete index access type contained in this field.

initialization
The initialization expression for the element if some was defined, otherwise null.

Initialization
The initialization expression for the element if some was defined, otherwise null.

IsAllowedType
An array containing a bool for each node/edge type (order defined by the TypeIDs) which is true iff the corresponding type is allowed for this pattern element. It should be null if allowedTypes is null or empty or has only one element.

MaybeNull
Tells whether this pattern element may be null. May only be true if pattern element is handed in as rule parameter.

name
The name of the pattern element.

Name
The name of the pattern element.

NameLookup
If not null this pattern element is to be determined by a name map lookup

originalElement
Links to the original pattern element in case this element was inlined, otherwise null; the point of definition of the original element references the original containing pattern

OriginalIndependentElement
Links to the original pattern element in case this element stems from inlining an independent (those elements exist only in search planning, they are not contained in any pattern).

originalSubpatternEmbedding
Links to the original subpattern embedding which was inlined in case this element was inlined, otherwise null.

ParameterIndex
Specifies to which rule parameter this pattern element corresponds. Only valid if pattern element is handed in as rule parameter.

pointOfDefinition
The pattern where this element gets matched (null if rule parameter).

PointOfDefinition
The pattern where this element gets matched (null if rule parameter).

PresetBecauseOfIndependentInlining
This element was declared in an independent pattern, but is now to be matched as preset, because it was inlinded in the containing pattern to speed up matching

Storage
If not null this pattern element is to be bound by iterating the given storage (which may mean trying the single value if it is elementary).

StorageIndex
If not null this pattern element is to be determined by a storage indexed lookup, with the accessor given here applied as index into the storage given in the Storage field.

TempPlanMapping
plan graph node corresponding to this pattern element, used in plan graph generation, just hacked into this place

ToString()()()()
Converts this instance into a string representation.
(Overrides Object.ToString()()()().)
TypeID
The type ID of the pattern element.

typeName
The name of the type interface of the pattern element.

UniqueLookup
If not null this pattern element is to be determined by a unique index lookup

unprefixedName
Pure name of the pattern element as specified in the .grg file without any prefixes.

UnprefixedName
The pure name of the pattern element as specified in the .grg without any prefixes.

visited
visited flag used to compute pattern connectedness for inlining, just hacked into this place

Inheritance Hierarchy

Assembly: lgspBackend (Module: lgspBackend) Version: 4.4.0.0 (4.4.0.0)