Versions in this module Expand all Collapse all v1 v1.5.1 Aug 19, 2023 v1.2.2 Aug 19, 2023 Changes in this version + func ParseArgumentList(l *Lexer) ast.ArgumentList + func ParseDirectives(l *Lexer) ast.DirectiveList + func ParseInputValue(l *Lexer) *ast.InputValueDefinition + func ParseLiteral(l *Lexer, constOnly bool) ast.Value + func ParseType(l *Lexer) ast.Type + func ResolveType(t ast.Type, resolver Resolver) (ast.Type, *errors.QueryError) + type Ident struct + Loc errors.Location + Name string + type Lexer struct + func NewLexer(s string, useStringDescriptions bool) *Lexer + func (l *Lexer) CatchScannerError(s *scanner.Scanner, msg string) + func (l *Lexer) CatchSyntaxError(f func()) (errRes *errors.QueryError) + func (l *Lexer) ConsumeIdent() string + func (l *Lexer) ConsumeIdentWithLoc() ast.Ident + func (l *Lexer) ConsumeKeyword(keyword string) + func (l *Lexer) ConsumeLiteral() *ast.PrimitiveValue + func (l *Lexer) ConsumeToken(expected rune) + func (l *Lexer) ConsumeWhitespace() + func (l *Lexer) DescComment() string + func (l *Lexer) Location() errors.Location + func (l *Lexer) Peek() rune + func (l *Lexer) SyntaxError(message string) + type Resolver func(name string) ast.Type