 | PatternVariable(VarType, String, String, Int32, Boolean, Expression) Constructor |
Instantiates a new PatternVariable object.
Namespace: de.unika.ipd.grGen.lgspAssembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntaxpublic PatternVariable(
VarType type,
string name,
string unprefixedName,
int parameterIndex,
bool defToBeYieldedTo,
Expression initialization
)
Parameters
- type VarType
- The GrGen type of the variable.
- name String
- The name of the variable.
- unprefixedName String
- Pure name of the variable as specified in the .grg without any prefixes.
- parameterIndex Int32
- Specifies to which rule parameter this variable corresponds.
- defToBeYieldedTo Boolean
- 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 Expression
- The initialization expression for the variable if some was defined, otherwise null.
See Also