Click or drag to resize

PatternEdge Class

A pattern edge of a rule pattern.
Inheritance Hierarchy
SystemObject
  de.unika.ipd.grGen.lgspPatternElement
    de.unika.ipd.grGen.lgspPatternEdge

Namespace:  de.unika.ipd.grGen.lgsp
Assembly:  lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.2
Syntax
C#
public class PatternEdge : PatternElement, 
	IPatternEdge, IPatternElement

The PatternEdge type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAnnotations
The annotations of the pattern element
(Inherited from PatternElement.)
Public propertyDefToBeYieldedTo
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.)
Public propertyInitialization
The initialization expression for the element if some was defined, otherwise null.
(Inherited from PatternElement.)
Public propertyName
The name of the pattern element.
(Inherited from PatternElement.)
Public propertyoriginalEdge
Links to the original pattern edge in case this edge was inlined, otherwise null; the point of definition of the original edge references the original containing pattern
Public propertyPointOfDefinition
The pattern where this element gets matched (null if rule parameter).
(Inherited from PatternElement.)
Public propertyType
The GrGen type of the pattern edge.
Public propertyUnprefixedName
The pure name of the pattern element as specified in the .grg without any prefixes.
(Inherited from PatternElement.)
Top
Methods
  NameDescription
Public methodGetPatternElementThisElementDependsOnOutsideOfGraphConnectedness
Returns the pattern element we depend on, for a storage lookup, or an indexed storage lookup, or an index lookup
(Inherited from PatternElement.)
Public methodToString
Converts this instance into a string representation.
(Overrides PatternElementToString.)
Top
Fields
  NameDescription
Public fieldAllowedTypes
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.)
Public fieldannotations
The annotations of the pattern element
(Inherited from PatternElement.)
Public fieldAssignmentSource
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.)
Public fieldCost
Default cost/priority from frontend, user priority if given.
(Inherited from PatternElement.)
Public fielddefToBeYieldedTo
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.)
Public fieldElementBeforeCasting
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.)
Public fieldfixedDirection
Indicates, whether this pattern edge should be matched with a fixed direction or not.
Public fieldIndexAccess
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.)
Public fieldinitialization
The initialization expression for the element if some was defined, otherwise null.
(Inherited from PatternElement.)
Public fieldIsAllowedType
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.)
Public fieldMaybeNull
Tells whether this pattern element may be null. May only be true if pattern element is handed in as rule parameter.
(Inherited from PatternElement.)
Public fieldname
The name of the pattern element.
(Inherited from PatternElement.)
Public fieldNameLookup
If not null this pattern element is to be determined by a name map lookup
(Inherited from PatternElement.)
Public fieldoriginalElement
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.)
Public fieldOriginalIndependentElement
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.)
Public fieldoriginalSubpatternEmbedding
Links to the original subpattern embedding which was inlined in case this element was inlined, otherwise null.
(Inherited from PatternElement.)
Public fieldParameterIndex
Specifies to which rule parameter this pattern element corresponds. Only valid if pattern element is handed in as rule parameter.
(Inherited from PatternElement.)
Public fieldpointOfDefinition
The pattern where this element gets matched (null if rule parameter).
(Inherited from PatternElement.)
Public fieldPresetBecauseOfIndependentInlining
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.)
Public fieldStorage
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.)
Public fieldStorageIndex
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.)
Public fieldTempPlanMapping
plan graph node corresponding to this pattern element, used in plan graph generation, just hacked into this place
(Inherited from PatternElement.)
Public fieldtype
The GrGen type of the pattern edge
Public fieldTypeID
The type ID of the pattern element.
(Inherited from PatternElement.)
Public fieldtypeName
The name of the type interface of the pattern element.
(Inherited from PatternElement.)
Public fieldUniqueLookup
If not null this pattern element is to be determined by a unique index lookup
(Inherited from PatternElement.)
Public fieldunprefixedName
Pure name of the pattern element as specified in the .grg file without any prefixes.
(Inherited from PatternElement.)
Public fieldvisited
visited flag used to compute pattern connectedness for inlining, just hacked into this place
(Inherited from PatternElement.)
Top
See Also