Click or drag to resize

ITreeNodeStreamLT Method

Get tree node at current input pointer + k ahead where k==1 is next node. k<0 indicates nodes in the past. So {@code LT(-1)} is previous node, but implementations are not required to provide results for k < -1. {@code LT(0)} is undefined. For k<=n, return . Return for {@code LT(0)} and any index that results in an absolute address that is negative.

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
Object LT(
	int k
)

Parameters

k
Type: SystemInt32

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

Return Value

Type: Object

[Missing <returns> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeNodeStream.LT(System.Int32)"]

Remarks
This is analogous to LT(Int32), but this returns a tree node instead of a IToken. Makes code generation identical for both parser and tree grammars.
See Also