Versions in this module Expand all Collapse all v0 v0.1.1 Mar 7, 2023 v0.1.0 Jan 25, 2023 Changes in this version + func Parse(filename string, b []byte, opts ...Option) (interface{}, error) + func ParseFile(filename string, opts ...Option) (i interface{}, err error) + func ParseReader(filename string, r io.Reader, opts ...Option) (interface{}, error) + type Block struct + Any bool + Catchall bool + Children []*Element + IsGroup bool + Node *Node + type Cloner interface + Clone func() interface{} + type Direction struct + Direction string + Field any + type Element struct + Action string + Path Path + Query string + RootExpand bool + type Expression struct + BoolOp string + Expression *Variable + type Filter struct + Filter [][]*Expression + type Limit struct + Limits *Limits + Sort any + type Limits struct + Limit int + Offset int + type Link map[string]any + type Node struct + Name *string + Ranges []*Range + type Object map[string]any + type Option func(*parser) Option + func AllowInvalidUTF8(b bool) Option + func Debug(b bool) Option + func Entrypoint(ruleName string) Option + func GlobalStore(key string, value interface{}) Option + func InitState(key string, value interface{}) Option + func MaxExpressions(maxExprCnt uint64) Option + func Memoize(b bool) Option + func Recover(b bool) Option + func Statistics(stats *Stats, choiceNoMatch string) Option + type Path []*Block + type Range struct + From *string + To *string + type Server struct + func New(ctx context.Context) (s *Server, err error) + func (s *Server) Qdsl(ctx context.Context, query *pbqdsl.Query) (elements *pbqdsl.Elements, err error) + type Stats struct + ChoiceAltCnt map[string]map[string]int + ExprCnt uint64 + type Variable struct + Evaluation string + Op string + Variable []string