Click or drag to resize

ITreeAdaptorSetTokenBoundaries Method

Where are the bounds in the input token stream for this node and all children? Each rule that creates AST nodes will call this method right before returning. Flat trees (i.e., lists) will still usually have a nil root node just to hold the children list. That node would contain the start/stop indexes then.

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
void SetTokenBoundaries(
	Object t,
	IToken startToken,
	IToken stopToken
)

Parameters

t
Type: SystemObject

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

startToken
Type: Stimulsoft.Data.Expressions.Antlr.RuntimeIToken

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

stopToken
Type: Stimulsoft.Data.Expressions.Antlr.RuntimeIToken

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

See Also