Expand description
Query language AST and parsing utilities
Structs§
- Directive
- Document
- Root of query data
- Field
- Fragment
Definition - Fragment
Spread - Inline
Fragment - Mutation
- Number
- This represents integer number
- Parse
Error - Error parsing query
- Query
- Selection
Set - Subscription
- Variable
Definition
Enums§
Traits§
- Text
- Text abstracts over types that hold a string value. It is used to make the AST generic over the string type.
Functions§
- consume_
definition - Parses a single ExecutableDefinition and returns an AST as well as the remainder of the input which is unparsed
- minify_
query - parse_
query - Parses a piece of query language and returns an AST