graphql: github.com/graphql-go/graphql/language/parser Index | Files

package parser

import "github.com/graphql-go/graphql/language/parser"

Index

Package Files

parser.go

func Parse Uses

func Parse(p ParseParams) (*ast.Document, error)

type ParseOptions Uses

type ParseOptions struct {
    NoLocation bool
    NoSource   bool
}

type ParseParams Uses

type ParseParams struct {
    Source  interface{}
    Options ParseOptions
}

type Parser Uses

type Parser struct {
    LexToken lexer.Lexer
    Source   *source.Source
    Options  ParseOptions
    PrevEnd  int
    Token    lexer.Token
}

Package parser imports 5 packages (graph) and is imported by 92 packages. Updated 2019-03-11. Refresh now. Tools for package owners.