Documentation
¶
Overview ¶
Package gitoken (Glif Interpreter TOKEN) defines the list of recognized tokens
Index ¶
Constants ¶
View Source
const ( ILLEGAL = "ILLEGAL" EOF = "EOF" // Identifiers and litterals IDENT = "IDENT" // INT = "INT" // 0123456789 STRING = "STRING" // Operators ASSIGN = "=" PLUS = "+" MINUS = "-" BANG = "!" ASTERISK = "*" SLASH = "/" LT = "<" GT = ">" EQ = "==" NOTEQ = "!=" TO = "->" // Delimiters COMMA = "," SEMICOLON = ";" LPAREN = "(" RPAREN = ")" LBRACE = "{" RBRACE = "}" LBRAKET = "[" RBRAKET = "]" COLON = ":" // Keywords FUNCTION = "FUNCTION" LET = "LET" SET = "SET" TRUE = "TRUE" FALSE = "FALSE" IF = "IF" ELSE = "ELSE" RETURN = "RETURN" REPOPATH = "REPOPATH" TICKETS = "TICKETS" )
Definition of the various constant for the tokens to be returned by the lexer
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.