query

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LBRACK = "["
	RBRACK = "]"
	DOT    = "."
	IDENT  = "IDENT"
	EOF    = "EOF"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyValue

type KeyValue struct {
	Key   string
	Value string
	In    Query
}

type Obj

type Obj struct {
	Name string
	In   Query
}

type Query

type Query interface{}

type Single

type Single struct {
	Name string
}

type Token

type Token struct {
	Type  Type
	Value string
	Start int
	End   int
}

type Tokens

type Tokens struct {
	// contains filtered or unexported fields
}

func Lex

func Lex(query string) Tokens

func (*Tokens) Parse

func (tokens *Tokens) Parse() Query

type Type

type Type string

Jump to

Keyboard shortcuts

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