graphquery: github.com/storyicon/graphquery Index | Files | Directories

package graphquery

import "github.com/storyicon/graphquery"

Index

Package Files

graphquery.go

func Compile Uses

func Compile(expr []byte) (*kernel.Graph, error)

Compile compiles an expression in the form of a byte array into a parser

func MustCompile Uses

func MustCompile(expr []byte) *kernel.Graph

MustCompile is used to compile expressions, will panic when compile errors

type Response Uses

type Response = kernel.GraphResponse

Response is an alias for kernel.GraphResponse

func ParseFromBytes Uses

func ParseFromBytes(document string, expr []byte) (response *Response)

ParseFromBytes is used to parse documents in string format and expressions in []byte form errors will be recorded in the Errors of Response

func ParseFromString Uses

func ParseFromString(document string, expr string) (response *Response)

ParseFromString will parse documents and expressions directly, and errors will be recorded in the Errors of Response

Directories

PathSynopsis
compiler
kernel
kernel/pipeline
kernel/selector

Package graphquery imports 3 packages (graph). Updated 2019-03-24. Refresh now. Tools for package owners.