Documentation
¶
Index ¶
Constants ¶
View Source
const ( ILLEGAL = "ILLEGAL" EOF = "EOF" LITERAL = "LITERAL" COMMENT = "#" IDENT = "IDENT" INT = "INT" // 1343456 TYPE_PATTERN = "TYPE_PATTERN" DELIMETER = ";" // Operators OP_EQUAL_TO = "==" OP_NOT_EQUAL = "!=" OP_LESS_THAN = "<" OP_GREATER_THAN = ">" OP_LESS_EQUAL = "<=" OP_GREATER_EQUAL = ">=" OP_MATCH = "=~" OP_IN = "in" OPEN_PAREN = "(" CLOSE_PAREN = ")" OPEN_BLOCK = "{" CLOSE_BLOCK = "}" // keywords WITH = "with" SUBJECT = "subject" GROUP = "group" USER = "user" TO = "to" WHERE = "where" NOT = "not" AND = "and" OR = "or" CONTEXT = "context" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenType ¶
type TokenType string
func LookupIdent ¶
func LookupOperator ¶
func LookupOperatorLogical ¶ added in v0.2.2
Click to show internal directories.
Click to hide internal directories.