Documentation ¶
Index ¶
Constants ¶
View Source
const ( Illegal = "Illegal" EOF = "EOF" // Identifiers + Literals Identifier = "Identifier" // add, x ,y, ... Int = "Int" // 123456 String = "String" // "x", "y" // Operators Assign = "=" Plus = "+" Minus = "-" Bang = "!" Asterisk = "*" Slash = "/" Equal = "==" NotEqual = "!=" LessThan = "<" GreaterThan = ">" // Delimiters Comma = "," Semicolon = ";" Colon = ":" LeftParen = "(" RightParen = ")" LeftBrace = "{" RightBrace = "}" LeftBracket = "[" RightBracket = "]" // Keywords Function = "Function" Let = "Let" 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.