Versions in this module Expand all Collapse all v0 v0.2.1 Apr 12, 2022 v0.2.0 Mar 22, 2022 Changes in this version + var TokenLookup = map[Token]string type Token + const PERCENT v0.1.0 Jan 10, 2022 Changes in this version + const EXPRESSION + const OPERATION + type Expression struct + Comparator string + Field string + Value string + func (e Expression) String() string + func (e Expression) Type() string + type Lexer struct + func NewLexer(r io.Reader) *Lexer + func NewLexerFromString(s string) *Lexer + func (s *Lexer) Scan() TokenInfo + type Node interface + String func() string + Type func() string + type Operation struct + Gate string + LeftNode Node + RightNode Node + func (o Operation) String() string + func (o Operation) Type() string + type Parser struct + func NewParser(s string) *Parser + func (p *Parser) Parse() (Node, error) + type Token int + const AND + const CLOSED_BRACKET + const EOF + const EQUAL + const GREATER_THAN + const GREATHER_THAN_EQUAL + const LESS_THAN + const LESS_THAN_EQUAL + const NOT_EQUAL + const OPEN_BRACKET + const OR + const OTHER + const STRING + const WS + func (t Token) String() (print string) + type TokenInfo struct + Literal string + Token Token + type TokenStack struct + func (s *TokenStack) Len() int + func (s *TokenStack) Pop() (TokenInfo, error) + func (s *TokenStack) Push(v TokenInfo) v0.0.1-alpha2 Nov 10, 2021