Documentation ¶
Index ¶
Constants ¶
View Source
const EOF rune = -1
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TokenType ¶
type TokenType uint8
const ( TokenError TokenType = iota TokenEOF TokenSpace TokenBinaryLiteral TokenOctalLiteral TokenDecimalLiteral TokenHexadecimalLiteral TokenFixedPointLiteral TokenIdentifier TokenString TokenPlus TokenMinus TokenStar TokenSlash TokenPercent TokenDoubleQuestionMark TokenParenOpen TokenParenClose TokenBraceOpen TokenBraceClose TokenBracketOpen TokenBracketClose TokenQuestionMark TokenQuestionMarkDot TokenComma TokenColon TokenDot TokenSemicolon TokenLeftArrow TokenLeftArrowExclamation TokenSwap TokenLess TokenLessEqual TokenLessLess TokenGreater TokenGreaterEqual TokenEqual TokenEqualEqual TokenExclamationMark TokenNotEqual TokenBlockCommentStart TokenBlockCommentEnd TokenBlockCommentContent TokenLineComment TokenAmpersand TokenAmpersandAmpersand TokenCaret TokenVerticalBar TokenVerticalBarVerticalBar TokenAt TokenAsExclamationMark TokenAsQuestionMark TokenPragma // NOTE: not an actual token, must be last item TokenMax )
Click to show internal directories.
Click to hide internal directories.