Click or drag to resize

GH_LexerPerformLexicalReplaceT Method (GH_Lexer, GH_Lexer, DataTreeT, DataTreeT)

Lexical Find..Replace operations.

Namespace:  Grasshopper.Kernel.Data
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static void PerformLexicalReplace<T>(
	GH_Lexer source,
	GH_Lexer target,
	DataTree<T> tree_in,
	DataTree<T> tree_out
)

Parameters

source
Type: Grasshopper.Kernel.DataGH_Lexer
Search mask.
target
Type: Grasshopper.Kernel.DataGH_Lexer
Replace pattern.
tree_in
Type: GrasshopperDataTreeT
Source data tree.
tree_out
Type: GrasshopperDataTreeT
Target data tree.

Type Parameters

T
Type of data in target tree.
See Also