package owi
type with_string_indices = < string_indices : yes >
type without_string_indices = < string_indices : no >
type with_ind_bt = < raw_bt : yes >
type without_ind_bt = < raw_bt : no >
type text = < with_string_indices ; with_ind_bt >
type simplified = < without_string_indices ; without_ind_bt >
val pp_id : Format.formatter -> string -> unit
val pp_id_opt : Format.formatter -> string option -> unit
val pp_indice : Format.formatter -> 'kind indice -> unit
val pp_indice_opt : Format.formatter -> 'a indice option -> unit
val pp_indices : Format.formatter -> 'a indice list -> unit
val pp_num_type : Format.formatter -> num_type -> unit
val pp_nullable : Format.formatter -> nullable -> unit
val pp_packed_type : Format.formatter -> packed_type -> unit
val pp_mut : Format.formatter -> mut -> unit
val pp_nn : Format.formatter -> nn -> unit
val pp_sx : Format.formatter -> sx -> unit
val pp_iunop : Format.formatter -> iunop -> unit
val pp_funop : Format.formatter -> funop -> unit
val pp_ibinop : Format.formatter -> ibinop -> unit
val pp_fbinop : Format.formatter -> fbinop -> unit
val pp_itestop : Format.formatter -> itestop -> unit
val pp_irelop : Format.formatter -> irelop -> Unit.t
val frelop : Format.formatter -> frelop -> Unit.t
val pp_memarg : Format.formatter -> memarg -> unit
val pp_limits : Format.formatter -> limits -> unit
type nonrec mem = string option * limits
val pp_mem : Format.formatter -> (string option * limits) -> unit
val pp_final : Format.formatter -> final -> unit
Structure
Types
type 'a heap_type =
| Any_ht
| None_ht
| Eq_ht
| I31_ht
| Struct_ht
| Array_ht
| Func_ht
| No_func_ht
| Extern_ht
| No_extern_ht
| Def_ht of 'a indice
val pp_heap_type : Format.formatter -> 'a heap_type -> unit
val pp_heap_type_short : Format.formatter -> 'a heap_type -> unit
val pp_ref_type : Format.formatter -> (nullable * 'a heap_type) -> unit
val pp_val_type : Format.formatter -> 'a val_type -> unit
type nonrec 'a param = string option * 'a val_type
val pp_param : Format.formatter -> (string option * 'a val_type) -> unit
type nonrec 'a param_type = 'a param list
val pp_param_type :
Format.formatter ->
(string option * 'a val_type) list ->
unit
type nonrec 'a result_type = 'a val_type list
val pp_result_ : Format.formatter -> 'a val_type -> unit
val pp_result_type : Format.formatter -> 'a val_type list -> unit
val with_space_list :
(Format.formatter -> 'a list -> unit) ->
Format.formatter ->
'a list ->
unit
type 'a block_type =
| Bt_ind : 'a indice -> < with_ind_bt.. > as 'a block_type
| Bt_raw : ('a indice option * ('a param_type * 'a result_type)) -> < .. > as 'a block_type
val pp_block_type : Format.formatter -> 'kind block_type -> unit
val pp_block_type_opt : Format.formatter -> 'a block_type option -> unit
type nonrec 'a func_type = 'a param_type * 'a result_type
val pp_func_type :
Format.formatter ->
((string option * 'a val_type) list * 'b val_type list) ->
unit
val pp_table_type :
Format.formatter ->
(limits * (nullable * 'a heap_type)) ->
unit
val pp_global_type : Format.formatter -> (mut * 'a val_type) -> unit
type nonrec 'a extern_type =
| Func of string option * 'a func_type
| Table of string option * 'a table_type
| Mem of string option * limits
| Global of string option * 'a global_type
Instructions
type 'a instr =
| I32_const of Int32.t
| I64_const of Int64.t
| F32_const of Float32.t
| F64_const of Float64.t
| I_unop of nn * iunop
| F_unop of nn * funop
| I_binop of nn * ibinop
| F_binop of nn * fbinop
| I_testop of nn * itestop
| I_relop of nn * irelop
| F_relop of nn * frelop
| I_extend8_s of nn
| I_extend16_s of nn
| I64_extend32_s
| I32_wrap_i64
| I64_extend_i32 of sx
| I_trunc_f of nn * nn * sx
| I_trunc_sat_f of nn * nn * sx
| F32_demote_f64
| F64_promote_f32
| F_convert_i of nn * nn * sx
| I_reinterpret_f of nn * nn
| F_reinterpret_i of nn * nn
| Ref_null of 'a heap_type
| Ref_is_null
| Ref_i31
| Ref_func of 'a indice
| Ref_as_non_null
| Ref_cast of nullable * 'a heap_type
| Ref_test of nullable * 'a heap_type
| Ref_eq
| Drop
| Select of 'a val_type list option
| Local_get of 'a indice
| Local_set of 'a indice
| Local_tee of 'a indice
| Global_get of 'a indice
| Global_set of 'a indice
| Table_get of 'a indice
| Table_set of 'a indice
| Table_size of 'a indice
| Table_grow of 'a indice
| Table_fill of 'a indice
| Table_copy of 'a indice * 'a indice
| Table_init of 'a indice * 'a indice
| Elem_drop of 'a indice
| I_load of nn * memarg
| F_load of nn * memarg
| I_store of nn * memarg
| F_store of nn * memarg
| I_load8 of nn * sx * memarg
| I_load16 of nn * sx * memarg
| I64_load32 of sx * memarg
| I_store8 of nn * memarg
| I_store16 of nn * memarg
| I64_store32 of memarg
| Memory_size
| Memory_grow
| Memory_fill
| Memory_copy
| Memory_init of 'a indice
| Data_drop of 'a indice
| Nop
| Unreachable
| Block of string option * 'a block_type option * 'a expr
| Loop of string option * 'a block_type option * 'a expr
| If_else of string option * 'a block_type option * 'a expr * 'a expr
| Br of 'a indice
| Br_if of 'a indice
| Br_table of 'a indice array * 'a indice
| Br_on_cast of 'a indice * 'a ref_type * 'a ref_type
| Br_on_cast_fail of 'a indice * nullable * 'a heap_type
| Br_on_non_null of 'a indice
| Br_on_null of 'a indice
| Return
| Return_call of 'a indice
| Return_call_indirect of 'a indice * 'a block_type
| Return_call_ref of 'a block_type
| Call of 'a indice
| Call_indirect of 'a indice * 'a block_type
| Call_ref of 'a indice
| Array_get of 'a indice
| Array_get_u of 'a indice
| Array_len
| Array_new of 'a indice
| Array_new_data of 'a indice * 'a indice
| Array_new_default of 'a indice
| Array_new_elem of 'a indice * 'a indice
| Array_new_fixed of 'a indice * int
| Array_set of 'a indice
| I31_get_u
| I31_get_s
| Struct_get of 'a indice * 'a indice
| Struct_get_s of 'a indice * 'a indice
| Struct_new of 'a indice
| Struct_new_default of 'a indice
| Struct_set of 'a indice * 'a indice
| Extern_externalize
| Extern_internalize
and 'a expr = 'a instr list
val pp_instr : Format.formatter -> 'a instr -> Unit.t
val pp_expr : Format.formatter -> 'a expr -> Unit.t
val pp_local : Format.formatter -> (string option * 'a val_type) -> unit
val pp_locals : Format.formatter -> (string option * 'a val_type) list -> unit
val pp_func : 'kind. Format.formatter -> 'kind func -> unit
val pp_funcs : Format.formatter -> 'a func list -> unit
type 'a table = string option * 'a table_type
val pp_table :
Format.formatter ->
(string option * (limits * (nullable * 'a heap_type))) ->
unit
type 'a import_desc =
| Import_func of string option * 'a block_type
| Import_table of string option * 'a table_type
| Import_mem of string option * limits
| Import_global of string option * 'a global_type
val import_desc : Format.formatter -> 'a import_desc -> Unit.t
val pp_import : Format.formatter -> 'a import -> Unit.t
val pp_export_desc : Format.formatter -> 'a export_desc -> unit
val pp_export : Format.formatter -> text export -> unit
val pp_storage_type : Format.formatter -> 'a storage_type -> unit
type 'a field_type = mut * 'a storage_type
val pp_field_type : Format.formatter -> (mut * 'a storage_type) -> unit
type 'a struct_field = string option * 'a field_type list
val pp_fields : Format.formatter -> (mut * 'a storage_type) list -> unit
val pp_struct_field :
Format.formatter ->
(string option * (mut * 'a storage_type) list) ->
unit
type 'a struct_type = 'a struct_field list
val pp_struct_type :
Format.formatter ->
(string option * (mut * 'a storage_type) list) list ->
unit
val pp_array_type : Format.formatter -> (mut * 'a storage_type) -> unit
type 'a str_type =
| Def_struct_t of 'a struct_type
| Def_array_t of 'a field_type
| Def_func_t of 'a func_type
val str_type : Format.formatter -> 'a str_type -> unit
val pp_sub_type :
Format.formatter ->
(final * 'a indice list * 'b str_type) ->
unit
type 'a type_def = string option * 'a sub_type
val pp_type_def :
Format.formatter ->
(string option * (final * 'a indice list * 'b str_type)) ->
unit
type 'a rec_type = 'a type_def list
val pp_rec_type :
Format.formatter ->
(string option * (final * 'a indice list * 'b str_type)) list ->
unit
val pp_start : Format.formatter -> 'a indice -> unit
val pp_const : Format.formatter -> 'a const -> unit
val pp_consts : Format.formatter -> 'a const list -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>