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;
}
| Callback of {
}
| DeclRecord of {
line : line_t;
name : Base.string;
fields : record_field_t Base.list;
}
| DeclType of {
}
| DeclOpaqueType of {
}
| AttrWild of {
}
| FormEof
and pattern_t =
| PatBitstr of {
line : line_t;
elements : pattern_bin_element_t Base.list;
}
| PatCompound of {
}
| PatCons of {
}
| PatNil of {
line : line_t;
}
| PatMap of {
line : line_t;
assocs : pattern_assoc_t Base.list;
}
| PatBinOp of {
}
| PatUnaryOp of {
}
| PatRecordFieldIndex of {
}
| PatRecord of {
line : line_t;
name : Base.string;
record_fields : (line_t * atom_or_wildcard * pattern_t) Base.list;
}
| PatTuple of {
}
| PatUniversal of {
line : line_t;
}
| PatVar of {
line : line_t;
id : Base.string;
}
| PatLit of {
lit : literal_t;
}
and pattern_bin_element_t =
| PatBinElement of {
pattern : pattern_t;
size : expr_t Base.option;
tsl : type_spec_t Base.list Base.option;
}
and expr_t =
| ExprBody of {
exprs : expr_t Base.list;
}
| ExprBitstr of {
line : line_t;
elements : expr_bin_element_t Base.list;
}
| ExprBitstrComprehension of {
line : line_t;
expr : expr_t;
qualifiers : qualifier_t Base.list;
}
| ExprBlock of {
}
| ExprCase of {
}
| ExprCatch 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;
}
| ExprIf of {
}
| 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 {
}
| ExprUnaryOp of {
}
| ExprReceive of {
}
| ExprReceiveAfter of {
}
| ExprRecord of {
line : line_t;
name : Base.string;
record_fields : record_field_for_expr Base.list;
}
| ExprRecordFieldAccess of {
}
| ExprRecordFieldIndex of {
}
| ExprRecordUpdate of {
line : line_t;
expr : expr_t;
name : Base.string;
update_fields : record_field_for_expr Base.list;
}
| ExprTuple of {
}
| ExprTry of {
line : line_t;
exprs : expr_t Base.list;
case_clauses : clause_t Base.list;
catch_clauses : clause_t Base.list;
after : expr_t Base.list;
}
| ExprVar of {
line : line_t;
id : Base.string;
}
| ExprLit of {
lit : literal_t;
}
and expr_bin_element_t =
| ExprBinElement of {
expr : expr_t;
size : expr_t Base.option;
tsl : type_spec_t Base.list Base.option;
}
and clause_t =
| ClsCase of {
line : line_t;
pattern : pattern_t;
guard_sequence : guard_sequence_t Base.option;
body : expr_t;
}
| ClsCatch of {
line : line_t;
line_cls : line_t;
line_stacktrace : line_t;
exception_class : atom_or_var_t;
pattern : pattern_t;
stacktrace : Base.string;
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;
}
| ClsIf of {
line : line_t;
guard_sequence : guard_sequence_t;
body : expr_t;
}
and guard_test_t =
| GuardTestBitstr of {
line : line_t;
elements : guard_test_bin_element_t Base.list;
}
| GuardTestCons of {
line : line_t;
head : guard_test_t;
tail : guard_test_t;
}
| GuardTestCall of {
line : line_t;
function_name : literal_t;
args : guard_test_t Base.list;
}
| GuardTestRemoteCall of {
line : line_t;
line_remote : line_t;
line_module_name : line_t;
module_name : Base.string;
line_function_name : line_t;
function_name : Base.string;
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;
}
| GuardTestNil of {
line : line_t;
}
| GuardTestBinOp of {
line : line_t;
op : Base.string;
lhs : guard_test_t;
rhs : guard_test_t;
}
| GuardTestUnaryOp of {
line : line_t;
op : Base.string;
operand : guard_test_t;
}
| GuardTestRecord of {
line : line_t;
name : Base.string;
record_fields : (line_t * atom_or_wildcard * guard_test_t) Base.list;
}
| GuardTestRecordFieldAccess of {
line : line_t;
record : guard_test_t;
name : Base.string;
line_field_name : line_t;
field_name : Base.string;
}
| GuardTestRecordFieldIndex of {
}
| 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 guard_test_bin_element_t =
| GuardTestBinElement of {
guard_test : guard_test_t;
size : guard_test_t Base.option;
tsl : type_spec_t Base.list Base.option;
}
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 {
}
| TyRecord of {
line : line_t;
line_name : line_t;
name : Base.string;
field_types : record_field_type_t Base.list;
}
| TyRemote of {
line : line_t;
line_module_name : line_t;
module_name : Base.string;
line_type_name : line_t;
type_name : Base.string;
params : type_t Base.list;
}
| 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_record_field_t : record_field_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_literal_t : literal_t -> Ppx_sexp_conv_lib.Sexp.t
val sexp_of_chars : chars -> 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_pattern_bin_element_t :
pattern_bin_element_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_record_field_for_expr :
record_field_for_expr ->
Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_type_spec_t : type_spec_t -> Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_expr_bin_element_t :
expr_bin_element_t ->
Base__.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_atom_or_wildcard : atom_or_wildcard -> Ppx_sexp_conv_lib.Sexp.t
val sexp_of_guard_test_bin_element_t :
guard_test_bin_element_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_record_field_type_t :
record_field_type_t ->
Base__.Ppx_sexp_conv_lib.Sexp.t
val sexp_of_err_t : err_t -> Ppx_sexp_conv_lib.Sexp.t
val tsl_of_sf : Sf.t -> (type_spec_t list, Sf.t Err.t) Base.Result.t
val record_field_of_sf : Sf.t -> (record_field_t, err_t) Base.Result.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 record_field_for_expr_of_sf :
Sf.t ->
(record_field_for_expr, Sf.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, Sf.t Err.t) Base.Result.t
val guard_test_assoc_of_sf : Sf.t -> (guard_test_assoc_t, err_t) Base.Result.t
val atom_or_wildcard_of_sf :
Sf.t ->
(atom_or_wildcard, Sf.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
val record_field_type_of_sf :
Sf.t ->
(record_field_type_t, Sf.t Err.t) Base.Result.t