![]() | PatternNode Class |
Namespace: de.unika.ipd.grGen.lgsp
public class PatternNode : PatternElement, IPatternNode, IPatternElement
The PatternNode type exposes the following members.
Name | Description | |
---|---|---|
![]() | PatternNode(PatternNode, String) |
Instantiates a new PatternNode object as a copy from an original node, used for independent inlining.
|
![]() | PatternNode(PatternNode, PatternGraphEmbedding, PatternGraph, String) |
Instantiates a new PatternNode object as a copy from an original node, used for subpattern inlining.
|
![]() | PatternNode(Int32, NodeType, String, String, String, GrGenType, Boolean, Single, Int32, Boolean, StorageAccess, StorageAccessIndex, IndexAccess, NameLookup, UniqueLookup, PatternElement, Boolean, Expression) |
Instantiates a new PatternNode object
|
Name | Description | |
---|---|---|
![]() | Annotations |
The annotations of the pattern element
(Inherited from PatternElement.) |
![]() | 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.
(Inherited from PatternElement.) |
![]() | Initialization |
The initialization expression for the element if some was defined, otherwise null.
(Inherited from PatternElement.) |
![]() | Name |
The name of the pattern element.
(Inherited from PatternElement.) |
![]() | originalNode |
Links to the original pattern node in case this node was inlined, otherwise null;
the point of definition of the original node references the original containing pattern
|
![]() | PointOfDefinition |
The pattern where this element gets matched (null if rule parameter).
(Inherited from PatternElement.) |
![]() | Type |
The GrGen type of the pattern node.
|
![]() | UnprefixedName |
The pure name of the pattern element as specified in the .grg without any prefixes.
(Inherited from PatternElement.) |
Name | Description | |
---|---|---|
![]() | GetPatternElementThisElementDependsOnOutsideOfGraphConnectedness |
Returns the pattern element we depend on,
for a storage lookup, or an indexed storage lookup, or an index lookup
(Inherited from PatternElement.) |
![]() | ToString |
Converts this instance into a string representation.
(Overrides PatternElementToString.) |
Name | Description | |
---|---|---|
![]() | 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.
(Inherited from PatternElement.) |
![]() | annotations |
The annotations of the pattern element
(Inherited from PatternElement.) |
![]() | 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.
(Inherited from PatternElement.) |
![]() | Cost |
Default cost/priority from frontend, user priority if given.
(Inherited from PatternElement.) |
![]() | 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.
(Inherited from PatternElement.) |
![]() | 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.
(Inherited from PatternElement.) |
![]() | 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.
(Inherited from PatternElement.) |
![]() | initialization |
The initialization expression for the element if some was defined, otherwise null.
(Inherited from PatternElement.) |
![]() | 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.
(Inherited from PatternElement.) |
![]() | MaybeNull |
Tells whether this pattern element may be null.
May only be true if pattern element is handed in as rule parameter.
(Inherited from PatternElement.) |
![]() | name |
The name of the pattern element.
(Inherited from PatternElement.) |
![]() | NameLookup |
If not null this pattern element is to be determined by a name map lookup
(Inherited from PatternElement.) |
![]() | 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
(Inherited from PatternElement.) |
![]() | 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).
(Inherited from PatternElement.) |
![]() | originalSubpatternEmbedding |
Links to the original subpattern embedding which was inlined in case this element was inlined, otherwise null.
(Inherited from PatternElement.) |
![]() | ParameterIndex |
Specifies to which rule parameter this pattern element corresponds.
Only valid if pattern element is handed in as rule parameter.
(Inherited from PatternElement.) |
![]() | pointOfDefinition |
The pattern where this element gets matched (null if rule parameter).
(Inherited from PatternElement.) |
![]() | 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
(Inherited from PatternElement.) |
![]() | 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).
(Inherited from PatternElement.) |
![]() | 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.
(Inherited from PatternElement.) |
![]() | TempPlanMapping |
plan graph node corresponding to this pattern element, used in plan graph generation, just hacked into this place
(Inherited from PatternElement.) |
![]() | type |
The GrGen type of the pattern node
|
![]() | TypeID |
The type ID of the pattern element.
(Inherited from PatternElement.) |
![]() | typeName |
The name of the type interface of the pattern element.
(Inherited from PatternElement.) |
![]() | UniqueLookup |
If not null this pattern element is to be determined by a unique index lookup
(Inherited from PatternElement.) |
![]() | unprefixedName |
Pure name of the pattern element as specified in the .grg file without any prefixes.
(Inherited from PatternElement.) |
![]() | visited |
visited flag used to compute pattern connectedness for inlining, just hacked into this place
(Inherited from PatternElement.) |