Documentation ¶
Index ¶
Constants ¶
View Source
const ( Illegal = "ILLEGAL" EOF = "EOF" Constant = "CONSTANT" Ident = "IDENT" InstanceVariable = "INSTANCE_VAR" Int = "INT" Float = "FLOAT" String = "STRING" Comment = "COMMENT" Assign = "=" Plus = "+" PlusEq = "+=" Minus = "-" MinusEq = "-=" Bang = "!" Asterisk = "*" Pow = "**" Slash = "/" Dot = "." And = "&&" Or = "||" OrEq = "||=" Modulo = "%" LT = "<" LTE = "<=" GT = ">" GTE = ">=" COMP = "<=>" Comma = "," Semicolon = ";" Colon = ":" Bar = "|" LParen = "(" RParen = ")" LBrace = "{" RBrace = "}" LBracket = "[" RBracket = "]" Eq = "==" NotEq = "!=" Range = ".." True = "TRUE" False = "FALSE" Null = "Null" If = "IF" ElsIf = "ELSIF" Else = "ELSE" Case = "CASE" When = "WHEN" Return = "RETURN" Next = "NEXT" Break = "BREAK" Def = "DEF" Self = "SELF" End = "END" While = "WHILE" Do = "DO" Yield = "YIELD" GetBlock = "GET_BLOCK" Class = "CLASS" Module = "MODULE" ResolutionOperator = "::" )
Literals
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Token ¶
Token is structure for identifying input stream of characters
func CreateOperator ¶ added in v0.1.12
CreateOperator - Factory method for creating operator types token from literal string
func CreateSeparator ¶ added in v0.1.12
CreateSeparator - Factory method for creating separator types token from literal string
Click to show internal directories.
Click to hide internal directories.