Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenType ¶
type TokenType int
const ( // Special types ILLEGAL TokenType = iota // An illegal token EOF // The end of the file IDENT // foo, bar // Literals HTML // HTML code INT // Integer STR // String // Operators PLUS // + MINUS // - ASTERISK // * SLASH // / MODULO // % PERIOD // . BANG // ! ASSIGN // = // Comparison operators EQ // == NOT_EQ // != LTHAN // < GTHAN // > LTHAN_EQ // <= GTHAN_EQ // >= // Delimiters LBRACES // {{ RBRACES // }} QUESTION // ? COLON // : COMMA // , // Keywords IF ELSE ELSEIF END TRUE FALSE NIL )
func LookupIdent ¶
Click to show internal directories.
Click to hide internal directories.