Versions in this module Expand all Collapse all v2 v2.2.2 Dec 8, 2022 v2.2.1 Dec 8, 2022 v2.1.4 Dec 8, 2022 Changes in this version type Type + const Comma v2.1.3 Dec 8, 2022 v2.1.2 Dec 8, 2022 v2.1.1 Dec 8, 2022 Changes in this version + type Lexer struct + func New(src *ast.Source) Lexer + func (s *Lexer) ReadToken() (token Token, err *gqlerror.Error) + type Token struct + Kind Type + Pos ast.Position + Value string + func (t Token) String() string + type Type int + const Amp + const At + const Bang + const BlockString + const BraceL + const BraceR + const BracketL + const BracketR + const Colon + const Comment + const Dollar + const EOF + const Equals + const Float + const Int + const Invalid + const Name + const ParenL + const ParenR + const Pipe + const Spread + const String + func (t Type) Name() string + func (t Type) String() string