Click or drag to resize

ITreeAdaptorCreate Method (Int32, IToken)

Create a new node derived from a token, with a new token type. This is invoked from an imaginary node ref on right side of a rewrite rule as IMAG[$tokenLabel].

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
Object Create(
	int tokenType,
	IToken fromToken
)

Parameters

tokenType
Type: SystemInt32

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

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

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

Return Value

Type: Object

[Missing <returns> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeAdaptor.Create(System.Int32,Stimulsoft.Data.Expressions.Antlr.Runtime.IToken)"]

Remarks
This should invoke createToken(Token).
See Also