parser

package
v4.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Optimize

func Optimize(queryAst *ast.Query) (domain.Query, error)

Optimize transforms a restQL AST into the internal representation.

Types

type Parser

type Parser interface {
	Parse(queryStr string) (domain.Query, error)
}

Parser is the interface implemented by types that can transform a query string into an internal representation.

func New

func New() (Parser, error)

New returns an instance of a Parser.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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