Click or drag to resize

ITreeAdaptorAddChild Method

Add a child to the tree t. If child is a flat tree (a list), make all in list children of t. Warning: if t has no children, but child does and child isNil then you can decide it is ok to move children to t via t.children = child.children; i.e., without copying the array. Just make sure that this is consistent with have the user will build ASTs. Do nothing if t or child is null.

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
void AddChild(
	Object t,
	Object child
)

Parameters

t
Type: SystemObject

[Missing <param name="t"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeAdaptor.AddChild(System.Object,System.Object)"]

child
Type: SystemObject

[Missing <param name="child"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeAdaptor.AddChild(System.Object,System.Object)"]

See Also