a Token object class, This defines the Token object
CodeToken
00 Remarks
A Token object holds the token and token value.
Type Parameters
| Name | Description |
|---|---|
Tokens | 应该是枚举类型 |
01 Syntax
Microsoft.VisualBasic.Scripting.TokenIcer.CodeToken`1
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| op_Equality | 1 | token is target token type andalso token text is one of any in the given text items |
| SetLine | 1 | |
| Trim | 1 | |
| ToString | 1 | |
| op_Inequality | 1 |
03 Properties
04 Members
op_Equality(CodeToken(Of `0),
ValueTuple(Of `0, String()))token is target token type andalso token text is one of any in the given text items
Parameters
| Name | Type | Description |
|---|---|---|
token | CodeToken(Of `0) | - |
element | ValueTuple(Of `0, String()) | - |
name
Token type
text
The text that makes up the token.
isNumeric
Returns a Boolean value indicating whether an expression can be evaluated as a number.
span
length
SetLine(
Int32)Trim(
Char())ToString()
op_Inequality(CodeToken(Of Tokens),
ValueTuple(Of Tokens, String()))