Versions in this module Expand all Collapse all v0 v0.2.0 Oct 12, 2022 v0.1.0 Oct 10, 2022 Changes in this version + func ParseArgumentList(l *Lexer) types.ArgumentList + func ParseDirectives(l *Lexer) types.DirectiveList + func ParseInputValue(l *Lexer) *types.InputValueDefinition + func ParseLiteral(l *Lexer, constOnly bool) types.Value + func ParseType(l *Lexer) types.Type + func ResolveType(t types.Type, resolver Resolver) (types.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() types.Ident + func (l *Lexer) ConsumeKeyword(keyword string) + func (l *Lexer) ConsumeLiteral() *types.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) types.Type