Graphql_parsertype const_value = [ | `Null |
| `Int of int |
| `Float of float |
| `String of string |
| `Bool of bool |
| `Enum of string |
| `List of const_value list |
| `Assoc of (string * const_value) list |
]type selection = | Field of field |
| FragmentSpread of fragment_spread |
| InlineFragment of inline_fragment |
type operation = {optype : optype; |
name : string option; |
variable_definitions : variable_definition list; |
directives : directive list; |
selection_set : selection list; |
}type document = definition listval parse : string -> ( document, string ) Stdlib.resultval pp_document : document Fmt.t