Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Associativity ¶ added in v1.1.0
type Associativity uint
Associativity defines token associativity data type
const ( // AssociativityNone defines a token has no associativity AssociativityNone Associativity = iota // AssociativityLeft defines a token is left associative AssociativityLeft // AssociativityRight defines a token is right associative AssociativityRight )
type Token ¶
type Token struct { Type Type Value string Associativity Associativity Precedence uint }
Token defines a mathematical expression token
Click to show internal directories.
Click to hide internal directories.