package graphql_ppx
GraphQL PPX rewriter for Bucklescript/ReasonML
Install
Dune Dependency
Authors
Maintainers
Sources
v0.7.1.tar.gz
md5=23fb5ff19b7ed57d12f915913256fcad
sha512=f0d934d2d34ae69da845fddace9ba5d8a36235ce515705301127d03f6ccf75920e1a3ad773d505c2aea0cd06d90fe9bfd739aaf5476a2af870987c3d3473e630
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 arguments =
(string Source_pos.spanning * input_value Source_pos.spanning) 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_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)"
>