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 = [
| `Bool of loc * 'a * 'b
| `External of loc * string * ('a, 'b) mapping list * 'a * 'b
| `Float of loc * 'a * 'b
| `Int of loc * 'a * 'b
| `List of loc * ('a, 'b) mapping * 'a * 'b
| `Name of loc * string * ('a, 'b) mapping list * 'a option * 'b option
| `Nullable of loc * ('a, 'b) mapping * 'a * 'b
| `Option of loc * ('a, 'b) mapping * 'a * 'b
| `Record of loc * ('a, 'b) field_mapping array * 'a * 'b
| `String of loc * 'a * 'b
| `Sum of loc * ('a, 'b) variant_mapping array * 'a * 'b
| `Tuple of loc * ('a, 'b) cell_mapping array * 'a * 'b
| `Tvar of loc * string
| `Unit of loc * 'a * 'b
| `Wrap of loc * ('a, 'b) mapping * 'a * 'b
]
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 * 'c) 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 ->
('a, 'b) variant_mapping ->
('a, 'b) variant_mapping
val subst_field :
('a, 'b) mapping Env.t ->
('a, 'b) field_mapping ->
('a, 'b) field_mapping
val subst_cell :
('a, 'b) mapping Env.t ->
('a, 'b) cell_mapping ->
('a, 'b) cell_mapping
val constructor : ('a, 'b) mapping -> string