Versions in this module Expand all Collapse all v1 v1.4.1 Sep 2, 2020 Changes in this version + func CopyArgs(m map[string]interface{}) map[string]interface + func NewParser(r io.Reader) *parser + type Call struct + Args map[string]interface{} + Children []*Call + Name string + func (c *Call) BoolArg(key string) (bool, bool, error) + func (c *Call) CallArg(key string) (*Call, bool, error) + func (c *Call) Clone() *Call + func (c *Call) FieldArg() (string, error) + func (c *Call) HasConditionArg() bool + func (c *Call) IntArg(key string) (int64, bool, error) + func (c *Call) String() string + func (c *Call) UintArg(key string) (uint64, bool, error) + func (c *Call) UintSliceArg(key string) ([]uint64, bool, error) + type Condition struct + Op Token + Value interface{} + func (cond *Condition) IntSliceValue() ([]int64, error) + func (cond *Condition) String() string + type PQL struct + Buffer string + Pretty bool + func (p *PQL) Execute() + func (p *PQL) Init() + func (p *PQL) Parse(rule ...int) error + func (p *PQL) PrintSyntaxTree() + func (p *PQL) Reset() + func (t *PQL) AST() *node32 + func (t *PQL) Add(rule pegRule, begin, end, index uint32) + func (t *PQL) PrettyPrintSyntaxTree(buffer string) + func (t *PQL) Print() + func (t *PQL) Tokens() []token32 + func (t *PQL) Trim(length uint32) + type Query struct + Calls []*Call + func ParseString(s string) (*Query, error) + func (q *Query) String() string + func (q *Query) WriteCallN() int + type Token int + const ASSIGN + const BETWEEN + const EQ + const GT + const GTE + const ILLEGAL + const LT + const LTE + const NEQ + func (tok Token) String() string