Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockStringValue ¶ added in v0.5.0
Types ¶
type TokenKind ¶
type TokenKind int
TokenKind tells what kind of value is in the Token
const ( // Undefined token Undefined TokenKind = iota // EOFToken -> EOF EOFToken // PunctuatorToken has special characters PunctuatorToken // NameToken has names NameToken // /[_A-Za-z][_0-9A-Za-z]*/ // IntValueToken has iteger numbers IntValueToken // NegativeSign(opt) | NonZeroDigit | Digit (list, opt) // FloatValueToken has float numbers FloatValueToken // Sign (opt) | IntegerPart | FractionalPart (ExponentPart) // StringValueToken has string values StringValueToken // "something which is a string" | """this is also valid""" )
Click to show internal directories.
Click to hide internal directories.