Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct { Type ParserType Name string Val string Parent *Node Children []*Node }
type Operation ¶
type Operation struct { Type ParserType Name string Args []Arg Directives []Directive Fields []Field // contains filtered or unexported fields }
type ParserType ¶
type ParserType int8
const ( OpQuery ParserType OpMutate OpSub NodeStr NodeNum NodeBool NodeObj NodeList NodeVar )
func (ParserType) String ¶
func (i ParserType) String() string
type Pos ¶
type Pos int
Pos represents a byte position in the original input text from which this template was parsed.
Click to show internal directories.
Click to hide internal directories.