Click or drag to resize

SequenceBaseGetLocalVariables Method (DictionarySequenceVariable, SetValueType, ListSequenceExpressionConstructor, SequenceBase)

Walks the sequence tree from this on to the given target sequence base (inclusive), collecting all variables found on the way into the variables dictionary, and all container and object type constructors used into the constructors array.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public virtual bool GetLocalVariables(
	Dictionary<SequenceVariable, SetValueType> variables,
	List<SequenceExpressionConstructor> constructors,
	SequenceBase target
)

Parameters

variables
Type: System.Collections.GenericDictionarySequenceVariable, SetValueType
Contains the variables found
constructors
Type: System.Collections.GenericListSequenceExpressionConstructor
Contains the constructors walked by
target
Type: de.unika.ipd.grGen.libGrSequenceBase
The target sequence base up to which to walk

Return Value

Type: Boolean
Returns whether the target was hit, so the parent can abort walking
See Also