Documentation
¶
Index ¶
Constants ¶
View Source
const ( ILLEGAL = "ILLEGAL" // For any unknown token/character EOFILE = "EOFILE" // Tells the parser that it should stop // Identifiers + literals IDENT = "IDENT" // add, foobar, x, y, ... INT = "INT" // 1343456 STRING = "STRING" // Operators ASSIGN = "=" PLUS = "+" MINUS = "-" EXCLAMATION = "!" ASTERISK = "*" SLASH = "/" LESSTHAN = "<" GREATERTHAN = ">" EQUAL = "==" NOTEQUAL = "!=" // Delimiters COMMA = "," SEMICOLON = ";" LEFTPAR = "(" RIGHTPAR = ")" LEFTBRAC = "{" RIGHTBRAC = "}" COLON = ":" LEFTSQPRAC = "[" RIGHTSQPRAC = "]" // Keywords FUNCTION = "FUNCTION" LET = "LET" CONST = "CONST" TRUE = "TRUE" FALSE = "FALSE" IF = "IF" ELSE = "ELSE" RETURN = "RETURN" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.