package graphql_ppx

  1. Overview
  2. Docs
type t
val make_self : unit -> t
val enter_document : t -> ctx -> Graphql_ast.document -> unit
val exit_document : t -> ctx -> Graphql_ast.document -> unit
val enter_operation_definition : t -> ctx -> Graphql_ast.operation Source_pos.spanning -> unit
val exit_operation_definition : t -> ctx -> Graphql_ast.operation Source_pos.spanning -> unit
val enter_fragment_definition : t -> ctx -> Graphql_ast.fragment Source_pos.spanning -> unit
val exit_fragment_definition : t -> ctx -> Graphql_ast.fragment Source_pos.spanning -> unit
val enter_variable_definition : t -> ctx -> (string Source_pos.spanning * Graphql_ast.variable_definition) -> unit
val exit_variable_definition : t -> ctx -> (string Source_pos.spanning * Graphql_ast.variable_definition) -> unit
val enter_directive : t -> ctx -> Graphql_ast.directive Source_pos.spanning -> unit
val exit_directive : t -> ctx -> Graphql_ast.directive Source_pos.spanning -> unit
val enter_argument : t -> ctx -> (string Source_pos.spanning * Schema.type_ref option * Graphql_ast.input_value Source_pos.spanning) -> unit
val exit_argument : t -> ctx -> (string Source_pos.spanning * Graphql_ast.input_value Source_pos.spanning) -> unit
val enter_selection_set : t -> ctx -> Graphql_ast.selection list Source_pos.spanning -> unit
val exit_selection_set : t -> ctx -> Graphql_ast.selection list Source_pos.spanning -> unit
val enter_field : t -> ctx -> Graphql_ast.field Source_pos.spanning -> unit
val exit_field : t -> ctx -> Graphql_ast.field Source_pos.spanning -> unit
val enter_fragment_spread : t -> ctx -> Graphql_ast.fragment_spread Source_pos.spanning -> unit
val exit_fragment_spread : t -> ctx -> Graphql_ast.fragment_spread Source_pos.spanning -> unit
val enter_inline_fragment : t -> ctx -> Graphql_ast.inline_fragment Source_pos.spanning -> unit
val exit_inline_fragment : t -> ctx -> Graphql_ast.inline_fragment Source_pos.spanning -> unit
val enter_null_value : t -> ctx -> unit Source_pos.spanning -> unit
val exit_null_value : t -> ctx -> unit Source_pos.spanning -> unit
val enter_int_value : t -> ctx -> int Source_pos.spanning -> unit
val exit_int_value : t -> ctx -> int Source_pos.spanning -> unit
val enter_float_value : t -> ctx -> float Source_pos.spanning -> unit
val exit_float_value : t -> ctx -> float Source_pos.spanning -> unit
val enter_string_value : t -> ctx -> string Source_pos.spanning -> unit
val exit_string_value : t -> ctx -> string Source_pos.spanning -> unit
val enter_bool_value : t -> ctx -> bool Source_pos.spanning -> unit
val exit_bool_value : t -> ctx -> bool Source_pos.spanning -> unit
val enter_enum_value : t -> ctx -> string Source_pos.spanning -> unit
val exit_enum_value : t -> ctx -> string Source_pos.spanning -> unit
val enter_variable_value : t -> ctx -> string Source_pos.spanning -> unit
val exit_variable_value : t -> ctx -> string Source_pos.spanning -> unit
val enter_list_value : t -> ctx -> Graphql_ast.input_value Source_pos.spanning list Source_pos.spanning -> unit
val exit_list_value : t -> ctx -> Graphql_ast.input_value Source_pos.spanning list Source_pos.spanning -> unit
val enter_object_value : t -> ctx -> (string Source_pos.spanning * Graphql_ast.input_value Source_pos.spanning) list Source_pos.spanning -> unit
val exit_object_value : t -> ctx -> (string Source_pos.spanning * Graphql_ast.input_value Source_pos.spanning) list Source_pos.spanning -> unit
val enter_object_field : t -> ctx -> (string Source_pos.spanning * Graphql_ast.input_value Source_pos.spanning) -> unit
val exit_object_field : t -> ctx -> (string Source_pos.spanning * Graphql_ast.input_value Source_pos.spanning) -> unit
OCaml

Innovation. Community. Security.