parser

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(document []byte) (*ast.Document, error)

Parse parses a gql document

func ParseDefinition added in v0.3.1

func ParseDefinition(definition []byte) (ast.Definition, error)

ParseDefinition parses a single schema, type, directive definition

Types

type ParserError added in v0.3.1

type ParserError struct {
	Message string
	Line    int
	Column  int
	Token   lexer.Token
}

func (*ParserError) Error added in v0.3.1

func (e *ParserError) Error() string

Jump to

Keyboard shortcuts

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