Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Return is used to return from a function.
Return = "return"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Type ¶
type Type int
Type defines the type of a token.
const ( Identifier Type = iota Keyword Integer ParenthesisOpen ParenthesisClose CurlyBracketOpen CurlyBracketClose SquareBracketOpen SquareBracketClose Arrow Comma Assign Plus Minus Slash Multiply Percent Equal NotEqual Greater Less GreaterEqual LessEqual Illegal )
All possible token types.
Click to show internal directories.
Click to hide internal directories.