Graphql_ppx_base.Graphql_asttype type_ref = | Tr_named of string Source_pos.spanning| Tr_list of type_ref Source_pos.spanning| Tr_non_null_named of string Source_pos.spanning| Tr_non_null_list of type_ref Source_pos.spanningtype input_value = | Iv_null| Iv_int of int| Iv_float of float| Iv_string of string| Iv_boolean of bool| Iv_enum of string| Iv_variable of string| Iv_list of input_value Source_pos.spanning list| Iv_object of (string Source_pos.spanning * input_value Source_pos.spanning)
listtype variable_definition = {vd_type : type_ref Source_pos.spanning;vd_default_value : input_value Source_pos.spanning option;}type variable_definitions =
(string Source_pos.spanning * variable_definition) listtype argument = string Source_pos.spanning * input_value Source_pos.spanningtype arguments = argument listtype directive = {d_name : string Source_pos.spanning;d_arguments : arguments Source_pos.spanning option;}type fragment_spread = {fs_name : string Source_pos.spanning;fs_directives : directive Source_pos.spanning list;}type field = {fd_alias : string Source_pos.spanning option;fd_name : string Source_pos.spanning;fd_arguments : arguments Source_pos.spanning option;fd_directives : directive Source_pos.spanning list;fd_selection_set : selection list Source_pos.spanning option;}and inline_fragment = {if_type_condition : string Source_pos.spanning option;if_directives : directive Source_pos.spanning list;if_selection_set : selection list Source_pos.spanning;}and selection = | Field of field Source_pos.spanning| FragmentSpread of fragment_spread Source_pos.spanning| InlineFragment of inline_fragment Source_pos.spanningtype operation = {o_type : operation_type;o_name : string Source_pos.spanning option;o_variable_definitions : variable_definitions Source_pos.spanning option;o_directives : directive Source_pos.spanning list;o_selection_set : selection list Source_pos.spanning;}type fragment = {fg_variable_definitions : variable_definitions Source_pos.spanning option;fg_name : string Source_pos.spanning;fg_type_condition : string Source_pos.spanning;fg_directives : directive Source_pos.spanning list;fg_selection_set : selection list Source_pos.spanning;}type definition = | Operation of operation Source_pos.spanning| Fragment of fragment Source_pos.spanningtype document = definition listval innermost_name : type_ref -> string