Struct Token
Namespace: Unity.GoQL
Syntax
public struct Token
Constructors
Token(TokenType, Char)
Declaration
public Token(TokenType type, char value)
Parameters
| Type | Name | Description |
|---|---|---|
| TokenType | type | |
| Char | value |
Token(TokenType, String)
Declaration
public Token(TokenType type, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| TokenType | type | |
| String | value |
Fields
type
Declaration
public readonly TokenType type
Field Value
| Type | Description |
|---|---|
| TokenType |
value
Declaration
public readonly string value
Field Value
| Type | Description |
|---|---|
| String |
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |