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 = "%" Match = "=~" LT = "<" LTE = "<=" GT = ">" GTE = ">=" Comma = "," Semicolon = ";" Colon = ":" Bar = "|" Amp = "&" LParen = "(" RParen = ")" LBrace = "{" RBrace = "}" LBracket = "[" RBracket = "]" Eq = "==" NotEq = "!=" IsSame = "===" IsNotSame = "!==" Range = ".." RangeExcl = "..." True = "TRUE" False = "FALSE" Nil = "NIL" If = "IF" ElsIf = "ELSIF" Else = "ELSE" Default = "DEFAULT" Switch = "SWITCH" Case = "CASE" Return = "RETURN" Continue = "CONTINUE" Break = "BREAK" Def = "DEF" Self = "SELF" Super = "SUPER" While = "WHILE" Yield = "YIELD" GetBlock = "BLOCK" HasBlock = "HASBLOCK" Class = "CLASS" Module = "MODULE" Catch = "CATCH" Finally = "FINALLY" ResolutionOperator = "::" RightArrow = "->" LeftArrow = "<-" Pipe = "|>" )
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 ¶
CreateOperator - Factory method for creating operator types token from literal string
func CreateSeparator ¶
CreateSeparator - Factory method for creating separator types token from literal string
Click to show internal directories.
Click to hide internal directories.