Click or drag to resize

BaseTreeAdaptorSetTokenBoundaries Method

Track start/stop token for subtree root created for a rule. Only works with Tree nodes. For rules that match nothing, seems like this will yield start=i and stop=i-1 in a nil node. Might be useful info so I'll not force to be i..i.

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
public virtual 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.BaseTreeAdaptor.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.BaseTreeAdaptor.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.BaseTreeAdaptor.SetTokenBoundaries(System.Object,Stimulsoft.Data.Expressions.Antlr.Runtime.IToken,Stimulsoft.Data.Expressions.Antlr.Runtime.IToken)"]

Implements

ITreeAdaptorSetTokenBoundaries(Object, IToken, IToken)
See Also