Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Sf = Simple_term_format
module Z = Aux.Z
val sexp_of_line_t : line_t -> Ppx_sexp_conv_lib.Sexp.t
and form_t =
| ModDecl of form_t Base.list
| AttrExport of {
line : line_t;
function_arity_list : (Base.string * Base.int) Base.list;
}
| AttrExportType of {
line : line_t;
type_arity_list : (Base.string * Base.int) Base.list;
}
| AttrImport of {
line : line_t;
module_name : Base.string;
function_arity_list : (Base.string * Base.int) Base.list;
}
| AttrMod of {
line : line_t;
module_name : Base.string;
}
| AttrFile of {
}
| DeclFun of {
}
| SpecFun of {
line : line_t;
module_name : Base.string Base.option;
function_name : Base.string;
arity : Base.int;
specs : type_t Base.list;
}
| DeclRecord of {
}
| DeclType of {
}
| DeclOpaqueType of {
}
| AttrWild of {
}
| FormEof
and expr_t =
| ExprBody of {
exprs : expr_t Base.list;
}
| ExprCase of {
}
| ExprCons of {
}
| ExprNil of {
line : line_t;
}
| ExprListComprehension of {
line : line_t;
expr : expr_t;
qualifiers : qualifier_t Base.list;
}
| ExprLocalFunRef of {
line : line_t;
function_name : Base.string;
arity : Base.int;
}
| ExprRemoteFunRef of {
line : line_t;
module_name : atom_or_var_t;
function_name : atom_or_var_t;
arity : integer_or_var_t;
}
| ExprFun of {
}
| ExprLocalCall of {
}
| ExprRemoteCall of {
line : line_t;
line_remote : line_t;
module_expr : expr_t;
function_expr : expr_t;
args : expr_t Base.list;
}
| ExprMapCreation of {
line : line_t;
assocs : expr_assoc_t Base.list;
}
| ExprMapUpdate of {
line : line_t;
map : expr_t;
assocs : expr_assoc_t Base.list;
}
| ExprMatch of {
}
| ExprBinOp of {
}
| ExprTuple of {
}
| ExprVar of {
line : line_t;
id : Base.string;
}
| ExprLit of {
lit : literal_t;
}
and clause_t =
| ClsCase of {
line : line_t;
pattern : pattern_t;
guard_sequence : guard_sequence_t Base.option;
body : expr_t;
}
| ClsFun of {
line : line_t;
patterns : pattern_t Base.list;
guard_sequence : guard_sequence_t Base.option;
body : expr_t;
}
and guard_test_t =
| GuardTestCall of {
line : line_t;
function_name : literal_t;
args : guard_test_t Base.list;
}
| GuardTestMapCreation of {
line : line_t;
assocs : guard_test_assoc_t Base.list;
}
| GuardTestMapUpdate of {
line : line_t;
map : guard_test_t;
assocs : guard_test_assoc_t Base.list;
}
| GuardTestBinOp of {
line : line_t;
op : Base.string;
lhs : guard_test_t;
rhs : guard_test_t;
}
| GuardTestTuple of {
line : line_t;
elements : guard_test_t Base.list;
}
| GuardTestVar of {
line : line_t;
id : Base.string;
}
| GuardTestLit of {
lit : literal_t;
}
and guard_test_assoc_t =
| GuardTestAssoc of {
line : line_t;
key : guard_test_t;
value : guard_test_t;
}
| GuardTestAssocExact of {
line : line_t;
key : guard_test_t;
value : guard_test_t;
}
and type_t =
| TyAnn of {
}
| TyBitstring of {
}
| TyPredef of {
}
| TyBinOp of {
}
| TyUnaryOp of {
}
| TyRange of {
}
| TyAnyMap of {
line : line_t;
}
| TyMap of {
line : line_t;
assocs : type_assoc_t Base.list;
}
| TyVar of {
line : line_t;
id : Base.string;
}
| TyFunAny of {
line : line_t;
}
| TyFunAnyArity of {
}
| TyContFun of {
line : line_t;
function_type : type_t;
constraints : type_func_cont_t;
}
| TyFun of {
}
| TyAnyTuple of {
line : line_t;
}
| TyTuple of {
}
| TyUnion of {
}
| TyUser of {
}
| TyLit of {
lit : literal_t;
}
and type_func_cont_t =
| TyCont of {
constraints : type_func_cont_t Base.list;
}
| TyContRel of {
line : line_t;
constraint_kind : type_func_cont_t;
lhs : type_t;
rhs : type_t;
}
| TyContIsSubType of {
line : line_t;
}
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val sexp_of_form_t : form_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_literal_t : literal_t -> Ppx_sexp_conv_lib.Sexp.t
val sexp_of_pattern_t : pattern_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_pattern_assoc_t :
pattern_assoc_t ->
Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_expr_t : expr_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_expr_assoc_t : expr_assoc_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_qualifier_t : qualifier_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_atom_or_var_t : atom_or_var_t -> Ppx_sexp_conv_lib.Sexp.t
val sexp_of_integer_or_var_t : integer_or_var_t -> Ppx_sexp_conv_lib.Sexp.t
val sexp_of_clause_t : clause_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_guard_sequence_t :
guard_sequence_t ->
Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_guard_t : guard_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_guard_test_t : guard_test_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_guard_test_assoc_t :
guard_test_assoc_t ->
Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_type_t : type_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_type_assoc_t : type_assoc_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_type_func_cont_t :
type_func_cont_t ->
Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_err_t : err_t -> Ppx_sexp_conv_lib.Sexp.t
val pat_assoc_of_sf : Sf.t -> (pattern_assoc_t, err_t) Base.Result.t
val expr_assoc_of_sf : Sf.t -> (expr_assoc_t, err_t) Base.Result.t
val qualifier_of_sf : Sf.t -> (qualifier_t, err_t) Base.Result.t
val atom_or_var_of_sf : Sf.t -> (atom_or_var_t, err_t) Base.Result.t
val integer_or_var_of_sf : Sf.t -> (integer_or_var_t, Sf.t Err.t) Base.Result.t
val guard_sequence_of_sf : Sf.t -> (guard_sequence_t, err_t) Base.Result.t
val guard_test_of_sf : Sf.t -> (guard_test_t, err_t) Base.Result.t
val guard_test_assoc_of_sf : Sf.t -> (guard_test_assoc_t, err_t) Base.Result.t
val type_fun_cont_of_sf : Sf.t -> (type_func_cont_t, err_t) Base.Result.t
val type_assoc_of_sf : Sf.t -> (type_assoc_t, err_t) Base.Result.t