package graphql_ppx

  1. Overview
  2. Docs
type t
val make_self : unit -> t
val enter_document : t -> Traversal_utils.ctx -> Graphql_ast.document -> unit
val exit_document : t -> Traversal_utils.ctx -> Graphql_ast.document -> unit
val enter_operation_definition : t -> Traversal_utils.ctx -> Graphql_ast.operation Source_pos.spanning -> unit
val exit_operation_definition : t -> Traversal_utils.ctx -> Graphql_ast.operation Source_pos.spanning -> unit
val enter_fragment_definition : t -> Traversal_utils.ctx -> Graphql_ast.fragment Source_pos.spanning -> unit
val exit_fragment_definition : t -> Traversal_utils.ctx -> Graphql_ast.fragment Source_pos.spanning -> unit
val enter_variable_definition : t -> Traversal_utils.ctx -> (string Source_pos.spanning * Graphql_ast.variable_definition) -> unit
val exit_variable_definition : t -> Traversal_utils.ctx -> (string Source_pos.spanning * Graphql_ast.variable_definition) -> unit
val enter_selection_set : t -> Traversal_utils.ctx -> Graphql_ast.selection list Source_pos.spanning -> unit
val exit_selection_set : t -> Traversal_utils.ctx -> Graphql_ast.selection list Source_pos.spanning -> unit
val enter_fragment_spread : t -> Traversal_utils.ctx -> Graphql_ast.fragment_spread Source_pos.spanning -> unit
val exit_fragment_spread : t -> Traversal_utils.ctx -> Graphql_ast.fragment_spread Source_pos.spanning -> unit
val enter_inline_fragment : t -> Traversal_utils.ctx -> Graphql_ast.inline_fragment Source_pos.spanning -> unit
val exit_inline_fragment : t -> Traversal_utils.ctx -> Graphql_ast.inline_fragment Source_pos.spanning -> unit
val enter_null_value : t -> Traversal_utils.ctx -> unit Source_pos.spanning -> unit
val exit_null_value : t -> Traversal_utils.ctx -> unit Source_pos.spanning -> unit
val enter_int_value : t -> Traversal_utils.ctx -> int Source_pos.spanning -> unit
val exit_int_value : t -> Traversal_utils.ctx -> int Source_pos.spanning -> unit
val enter_float_value : t -> Traversal_utils.ctx -> float Source_pos.spanning -> unit
val exit_float_value : t -> Traversal_utils.ctx -> float Source_pos.spanning -> unit
val enter_string_value : t -> Traversal_utils.ctx -> string Source_pos.spanning -> unit
val exit_string_value : t -> Traversal_utils.ctx -> string Source_pos.spanning -> unit
val enter_bool_value : t -> Traversal_utils.ctx -> bool Source_pos.spanning -> unit
val exit_bool_value : t -> Traversal_utils.ctx -> bool Source_pos.spanning -> unit
val enter_enum_value : t -> Traversal_utils.ctx -> string Source_pos.spanning -> unit
val exit_enum_value : t -> Traversal_utils.ctx -> string Source_pos.spanning -> unit
val enter_variable_value : t -> Traversal_utils.ctx -> string Source_pos.spanning -> unit
val exit_variable_value : t -> Traversal_utils.ctx -> string Source_pos.spanning -> unit
val enter_object_field : t -> Traversal_utils.ctx -> (string Source_pos.spanning * Graphql_ast.input_value Source_pos.spanning) -> unit
OCaml

Innovation. Community. Security.