ITreeAdaptorGetToken Method |
Return the token object from which this node was created.
Currently used only for printing an error message.
The error display routine in BaseRecognizer needs to
display where the input the error occurred. If your
tree of limitation does not store information that can
lead you to the token, you can create a token filled with
the appropriate information and pass that back. See
BaseRecognizer.getErrorMessage().
Namespace:
Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
Assembly:
Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
SyntaxIToken GetToken(
Object t
)
Function GetToken (
t As Object
) As IToken
Parameters
- t
- Type: SystemObject
[Missing <param name="t"/> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeAdaptor.GetToken(System.Object)"]
Return Value
Type:
IToken[Missing <returns> documentation for "M:Stimulsoft.Data.Expressions.Antlr.Runtime.Tree.ITreeAdaptor.GetToken(System.Object)"]
See Also