GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
PatternVariable Class
Namespacesde.unika.ipd.grGen.lgspPatternVariable
A pattern variable of a rule pattern.
Declaration Syntax
C#
public class PatternVariable : IPatternVariable, 
	IPatternElement
Members
All MembersConstructorsPropertiesFields



IconMemberDescription
PatternVariable(VarType, String, String, Int32, Boolean, Expression)
Instantiates a new PatternVariable object.

PatternVariable(PatternVariable, PatternGraphEmbedding, PatternGraph, String)
Instantiates a new PatternVariable object as a copy from an original variable, used for inlining.

annotations
The annotations of the pattern element

Annotations
The annotations of the pattern element

AssignmentDependencies
If AssignmentSource is not null this gives the original embedding which was inlined. It is given as quick access to the needed nodes, edges, and variables for scheduling.

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

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.

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

name
The name of the variable.

Name
The name of the variable.

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

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

ParameterIndex
Specifies to which rule parameter this variable corresponds.

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

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

type
The GrGen type of the pattern variable.

Type
The GrGen type of the pattern variable.

unprefixedName
Pure name of the variable as specified in the .grg without any prefixes.

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

Inheritance Hierarchy
Object
PatternVariable

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