package graphql_ppx
GraphQL PPX rewriter for ReScript/ReasonML
Install
Dune Dependency
Authors
Maintainers
Sources
v1.2.2.tar.gz
md5=00455e2a595b925a697fd7e80aab3fb8
sha512=b6e0a5b353b6498c10d03a37ab4a2083ca0d17f227fa906e7c6f07053a7a9198476b7aa7d0e88f4e3c8c44a85469eb3a65805cd6d006ef64ff82fe5bc3524881
doc/graphql_ppx.base/Graphql_ppx_base/Graphql_ast/index.html
Module Graphql_ppx_base.Graphql_ast
type 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.spanning
type 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) list
type 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) list
type argument = string Source_pos.spanning * input_value Source_pos.spanning
type arguments = argument list
type 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.spanning
type 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.spanning
type document = definition list
val innermost_name : type_ref -> string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>