Click or drag to resize

ITreeNodeStreamReplaceChildren Method

Replace children of {@code parent} from index {@code startChildIndex} to {@code stopChildIndex} with {@code t}, which might be a list. Number of children may be different after this call. The stream is notified because it is walking the tree and might need to know you are monkeying with the underlying tree. Also, it might be able to modify the node stream to avoid restreaming for future phases.

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
void ReplaceChildren(
	Object parent,
	int startChildIndex,
	int stopChildIndex,
	Object t
)

Parameters

parent
Type: SystemObject

[Missing <param name="parent"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeNodeStream.ReplaceChildren(System.Object,System.Int32,System.Int32,System.Object)"]

startChildIndex
Type: SystemInt32

[Missing <param name="startChildIndex"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeNodeStream.ReplaceChildren(System.Object,System.Int32,System.Int32,System.Object)"]

stopChildIndex
Type: SystemInt32

[Missing <param name="stopChildIndex"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeNodeStream.ReplaceChildren(System.Object,System.Int32,System.Int32,System.Object)"]

t
Type: SystemObject

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

Remarks
If {@code parent} is {@code null}, don't do anything; must be at root of overall tree. Can't replace whatever points to the parent externally. Do nothing.
See Also