Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type loc = Atd_ast.loc
val annot_error : Atd_ast.loc -> 'a
type ('a, 'b) mapping = [
| `Unit of loc * 'a * 'b
| `Bool of loc * 'a * 'b
| `Int of loc * 'a * 'b
| `Float of loc * 'a * 'b
| `String of loc * 'a * 'b
| `Sum of loc * ('a, 'b) variant_mapping array * 'a * 'b
| `Record of loc * ('a, 'b) field_mapping array * 'a * 'b
| `Tuple of loc * ('a, 'b) cell_mapping array * 'a * 'b
| `List of loc * ('a, 'b) mapping * 'a * 'b
| `Option of loc * ('a, 'b) mapping * 'a * 'b
| `Nullable of loc * ('a, 'b) mapping * 'a * 'b
| `Wrap of loc * ('a, 'b) mapping * 'a * 'b
| `Name of loc * string * ('a, 'b) mapping list * 'a option * 'b option
| `External of loc * string * ('a, 'b) mapping list * 'a * 'b
| `Tvar of loc * string
]
and ('a, 'b) field_mapping = {
f_loc : loc;
f_name : string;
f_kind : Atd_ast.field_kind;
f_value : ('a, 'b) mapping;
f_arepr : 'a;
f_brepr : 'b;
}
val as_abstract :
[> `Name of 'a * (Atd_ast.loc * string * 'b list) * 'c ] ->
(Atd_ast.loc * 'd) option
val is_abstract :
[> `Name of 'a * (Atd_ast.loc * string * 'b list) * 'c ] ->
bool
module Env : sig ... end
val subst_variant :
('a, 'b) mapping Env.t ->
('c, 'd) variant_mapping ->
('c, 'd) variant_mapping
val subst_field :
('a, 'b) mapping Env.t ->
('c, 'd) field_mapping ->
('e, 'f) field_mapping
val subst_cell :
('a, 'b) mapping Env.t ->
('c, 'd) cell_mapping ->
('e, 'f) cell_mapping
val constructor : ('a, 'b) mapping -> string