Click or drag to resize

LegacyCommonTokenStreamSetTokenTypeChannel Method

A simple filter mechanism whereby you can tell this token stream to force all tokens of type ttype to be on channel. For example, when interpreting, we cannot exec actions so we need to tell the stream to force all WS and NEWLINE to be a different, ignored channel.

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
public virtual void SetTokenTypeChannel(
	int ttype,
	int channel
)

Parameters

ttype
Type: SystemInt32

[Missing <param name="ttype"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.LegacyCommonTokenStream.SetTokenTypeChannel(System.Int32,System.Int32)"]

channel
Type: SystemInt32

[Missing <param name="channel"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.LegacyCommonTokenStream.SetTokenTypeChannel(System.Int32,System.Int32)"]

See Also