Documentation ¶
Overview ¶
Package d2lexer contains the code for tokenizing calculation strings.
Index ¶
Constants ¶
View Source
const ( // Name represents a name token, such as skill, par1 etc. Name tokenType = iota // String represents a quoted string token, such as "Sacrifice". String // Symbol represents a symbol token, such as '+', '-', '?, '.' etc. Symbol // Number represents an integer token. Number // EOF is the end-of-file token, generated when the end of data is reached. EOF )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.