package rescriptdep
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A dependency analyzer for ReScript modules
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.1.2.tar.gz
md5=b4add411a4fe583fc5e42800189a5d37
sha512=6a5eec651a35db4fc14b4db34c6839bc556868e8f649fd306664ff218dddd8824afeaacfc58a55b2b6b482a0e1ba4837b2bc076ebd22393a38161124b79640f5
doc/rescriptdep.vendor/Types/index.html
Module TypesSource
Representation of types and declarations
Types defines the representation of types and declarations (that is, the content of module signatures).
CMI files are made of marshalled types.
Source
and type_desc = | Tvar of string option| Tarrow of string * type_expr * type_expr * commutable| Ttuple of type_expr list| Tconstr of Path.t * type_expr list * abbrev_memo ref| Tobject of type_expr * (Path.t * type_expr list) option ref| Tfield of string * field_kind * type_expr * type_expr| Tnil| Tlink of type_expr| Tsubst of type_expr| Tvariant of row_desc| Tunivar of string option| Tpoly of type_expr * type_expr list| Tpackage of Path.t * string list * type_expr list
Source
and abbrev_memo = | Mnil| Mcons of Path.t * type_expr * type_expr * abbrev_memo| Mlink of abbrev_memo ref
Source
type value_description = {val_type : type_expr;val_kind : value_kind;val_loc : unit;val_attributes : string;
}Source
and value_kind = | Val_reg| Val_prim of string| Val_ivar of mutable_flag * string| Val_self of (unit * type_expr) Meths_cache.t ref * unit * string list| Val_anc of (unit * type_expr) Meths_cache.t ref * string| Val_unbound
Source
type type_declaration = {type_params : type_expr list;type_arity : int;type_kind : type_kind;type_private : private_flag;type_manifest : type_expr option;type_variance : (bool * bool) list;type_newtype_level : (int * int) option;type_loc : unit;type_attributes : string;type_immediate : bool;type_unboxed : unboxed_status;
}Source
and type_kind = | Type_abstract| Type_record of label_declaration list * record_representation| Type_variant of constructor_declaration list| Type_open
Source
and label_declaration = {ld_id : string;ld_mutable : mutable_flag;ld_type : type_expr;ld_loc : unit;ld_attributes : string;
}Source
and constructor_declaration = {cd_id : string;cd_args : constructor_arguments;cd_res : type_expr option;cd_loc : unit;cd_attributes : string;
}Source
and constructor_arguments = | Cstr_tuple of type_expr list| Cstr_record of label_declaration list
Source
and module_type_desc = | Tmty_ident of Path.t| Tmty_signature of signature| Tmty_functor of string * module_type option * module_type| Tmty_with of module_type * (Path.t * with_constraint) list| Tmty_typeof of module_expr| Tmty_alias of Path.t
Source
and signature_item_desc = | Tsig_value of string * value_description| Tsig_type of string * type_declaration * rec_status| Tsig_typext of type_extension| Tsig_exception of extension_constructor| Tsig_module of string * module_declaration| Tsig_recmodule of module_declaration list| Tsig_modtype of string * modtype_declaration| Tsig_open of unit| Tsig_include of unit| Tsig_class of unit| Tsig_class_type of unit| Tsig_attribute of unit
Source
and module_declaration = {md_id : string;md_type : module_type;md_attributes : string;md_loc : unit;
}Source
and module_expr = {mod_desc : module_expr_desc;mod_loc : unit;mod_type : module_type;mod_env : unit;mod_attributes : string;
}Source
and module_expr_desc = | Tmod_ident of Path.t| Tmod_structure of structure| Tmod_functor of string * module_type option * module_expr| Tmod_apply of module_expr * module_expr * unit| Tmod_constraint of module_expr * module_type * unit * unit| Tmod_unpack of unit * module_type
Source
and structure_item_desc = | Tstr_eval of unit| Tstr_value of rec_flag * unit list| Tstr_primitive of string * value_description| Tstr_type of rec_flag * type_declaration list| Tstr_typext of type_extension| Tstr_exception of extension_constructor| Tstr_module of module_binding| Tstr_recmodule of module_binding list| Tstr_modtype of string * modtype_declaration| Tstr_open of unit| Tstr_class of unit| Tstr_class_type of unit| Tstr_include of unit| Tstr_attribute of unit
Source
and module_binding = {mb_id : string;mb_name : string;mb_expr : module_expr;mb_attributes : string;mb_loc : unit;
}Source
and modtype_declaration = {mtd_type : module_type option;mtd_attributes : string;mtd_loc : unit;
}Source
and with_constraint = | Twith_type of type_declaration| Twith_module of Path.t| Twith_typesubst of type_declaration| Twith_modsubst of Path.t
Source
and type_extension = {tyext_path : Path.t;tyext_params : type_expr list;tyext_constructors : extension_constructor list;tyext_private : private_flag;tyext_attributes : string;
}Source
and extension_constructor = {ext_id : string;ext_name : string;ext_type : unit;ext_kind : extension_constructor_kind;ext_loc : unit;ext_attributes : string;
}Source
and extension_constructor_kind = | Text_decl of constructor_arguments * type_expr option| Text_rebind of Path.t
Source
type class_type = {cty_desc : class_type_desc;cty_type : type_expr;cty_path : Path.t;cty_loc : unit;
}Source
and class_type_desc = | Tcty_constr of Path.t * type_expr list| Tcty_signature of class_signature| Tcty_arrow of string * type_expr * class_type
Source
and class_signature = {csig_self : type_expr;csig_fields : class_type_field list;csig_type : type_expr;
}Source
and class_type_field_desc = | Tcf_val of string * mutable_flag * type_expr| Tcf_method of string * private_flag * type_expr| Tcf_constraint of type_expr * type_expr| Tcf_inher of class_signature
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page