Versions in this module Expand all Collapse all v0 v0.34.24 Sep 22, 2023 Changes in this version + const DateLayout + const TimeLayout + type Condition struct + CompositeKey string + Op Operator + Operand interface{} + type Empty struct + func (Empty) Matches(tags map[string][]string) (bool, error) + func (Empty) String() string + type Operator uint8 + const OpContains + const OpEqual + const OpExists + const OpGreater + const OpGreaterEqual + const OpLess + const OpLessEqual + type Query struct + func MustParse(s string) *Query + func New(s string) (*Query, error) + func (q *Query) Conditions() ([]Condition, error) + func (q *Query) Matches(events map[string][]string) (bool, error) + func (q *Query) String() string + type QueryParser struct + Buffer string + Parse func(rule ...int) error + Pretty bool + Reset func() + func (p *QueryParser) Highlighter() + func (p *QueryParser) Init() + func (p *QueryParser) PrintSyntaxTree() + func (t *QueryParser) AST() *node32 + func (t *QueryParser) Add(rule pegRule, begin, end, depth uint32, index int) + func (t *QueryParser) Error() []token32 + func (t *QueryParser) Expand(index int) + func (t *QueryParser) Order() [][]token32 + func (t *QueryParser) PreOrder() (<-chan state32, [][]token32) + func (t *QueryParser) Print() + func (t *QueryParser) PrintSyntax() + func (t *QueryParser) Tokens() <-chan token32