Versions in this module Expand all Collapse all v1 v1.0.0 Nov 28, 2018 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