Documentation ¶
Index ¶
Constants ¶
View Source
const ( EOF TokenType = 0 ILLEGAL = -1 // Identifiers and Literals IDENT = 0x100 INT = 0x101 FLOAT = 0x102 STRING = 0x103 // Operators EQUAL = 0x200 // = LT = 0x201 // < LTEQ = 0x202 // <= GT = 0x203 // > GTEQ = 0x204 // >= NOTEQ = 0x205 // <> // Logical Operators AND = 0x300 // and OR = 0x301 // or NOT = 0x302 // not // built-in functions SAMPLE_HAS_PROCESS_FUNC = 0x400 // s-has-process: SAMPLE_HAS_ATTRIBUTE_FUNC = 0x401 // s-has-attribute: PROCESS_HAS_SAMPLE_FUNC = 0x402 // p-has-sample: PROCESS_HAS_ATTRIBUTE_FUNC = 0x403 // p-has-attribute: // Keywords SAMPLE = 0x700 // s: PROCESS = 0x701 // p: ATTR = 0x702 // a: SELECT = 0x703 // select WHERE = 0x704 // where NULL = 0x705 // null SAMPLES = 0x706 // samples PROCESSES = 0x707 // processes PROCESS_ATTR = 0x708 // pa: SAMPLE_ATTR = 0x709 // sa: TRUE = 0x710 // true FALSE = 0x711 // false // Elements LBRACKET = 0x800 // [ RBRACKET = 0x801 // ] LPAREN = 0x802 // ( RPAREN = 0x803 // ) COMMA = 0x804 // , QUOTE = 0x805 // " COLON = 0x806 // : SEMICOLON = 0x807 // ; MINUS = 0x808 // - BANG = 0x809 // ! PLUS = 0x810 // + )
Variables ¶
This section is empty.
Functions ¶
func TokenToStr ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.