Click or drag to resize

LookaheadStreamTSeek Method

Seek to a 0-indexed absolute token index. Normally used to seek backwards in the buffer. Does not force loading of nodes.

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Misc
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
public virtual void Seek(
	int index
)

Parameters

index
Type: SystemInt32

[Missing <param name="index"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Misc.LookaheadStream`1.Seek(System.Int32)"]

Remarks
To preserve backward compatibility, this method allows seeking past the end of the currently buffered data. In this case, the input pointer will be moved but the data will only actually be loaded upon the next call to {@link #consume} or {@link #LT} for {@code k>0}.
See Also