parserv1

package
v0.0.0-...-b7fb57f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2025 License: MIT Imports: 5 Imported by: 0

README

This is the old parser for GROQ "v1", used with the legacy engine. Tests are in the shared "tests" package in the parent folder.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(src string, opts ...Option) (ast.Expression, error)

Parse parses a string of GROQ.

Types

type Option

type Option func(*parser)

func WithParamNodes

func WithParamNodes(v bool) Option

func WithParams

func WithParams(p groq.Params) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL