package binaryen

  1. Overview
  2. Docs

Module Binaryen.ModuleSource

Sourcetype t
Sourcemodule Feature : sig ... end
Sourceval create : unit -> t
Sourceval dispose : t -> unit
Sourceval add_custom_section : t -> string -> string -> unit
Sourceval parse : string -> t
Sourceval print : t -> unit
Sourceval print_asmjs : t -> unit
Sourceval print_stack_ir : t -> bool -> unit
Sourceval validate : t -> int
Sourceval optimize : t -> unit
Sourceval get_features : t -> Feature.t list
Sourceval set_features : t -> Feature.t list -> unit
Sourceval run_passes : t -> Passes.t list -> unit
Sourceval auto_drop : t -> unit
Sourceval write : t -> string option -> bytes * string option
Sourceval write_text : t -> string
Sourceval write_stack_ir : t -> bool -> string
Sourceval read : bytes -> t
Sourceval interpret : t -> unit
Sourceval add_debug_info_filename : t -> string -> int
Sourceval get_debug_info_filename : t -> int -> string
Sourceval update_maps : t -> unit
OCaml

Innovation. Community. Security.