Versions in this module Expand all Collapse all v3 v3.0.0 Jul 16, 2026 Changes in this version + func AsError(err error, target **Error) bool + func IsLimitError(err error) bool + func Parse(src []byte) (*ast.Document, error) + type DocumentPlan struct + Arguments int + Definitions int + Directives int + IndexEntries int + Nodes int + Values int + VariableDefinitions int + func Plan(src []byte, opts ...Options) (DocumentPlan, error) + type Error struct + Limit bool + Message string + Position Position + func (e *Error) Error() string + type Options struct + KeepDescriptions bool + KeepExtensionIdentity bool + MaxDepth int + MaxDocumentSize int + MaxLiteralSize int + MaxTokens int + SkipIndexes bool + type Parser struct + func NewParser(opts ...Options) *Parser + func (p *Parser) Parse(src []byte) (*ast.Document, error) + func (p *Parser) ParseWithArena(a arena.Arena, src []byte) (*ast.Document, error) + func (p *Parser) RecycleArenaDocument(document *ast.Document) + type Position struct + Column int + Line int + Offset int Other modules containing this package github.com/wundergraph/graphql-go-tools