package js_of_ocaml-webidl

  1. Overview
  2. Docs
Generate js_of_ocaml bindings from webidl definitions

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-webgpu-0.2.tbz
sha256=3b1f3ba2420ad3b35abf04b2d99d807868a3aafc8b437c2ef4589fe8ddf76cde
sha512=01f71bc8fcdb73569a9f34e942f33f677b6b8ceb6823699ca8aeab292f7f2413f39e689e7dd3b368dd7474b055b18e9d6ff7dba500971dc4dce744d0cf2fddcc

doc/js_of_ocaml-webidl.private-webidl/Webidl/Parse/index.html

Module Webidl.ParseSource

Sourcemodule Syntax = Webidl_syntax
Sourceval data_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> data
Sourceval sexp_of_data : data -> Ppx_sexp_conv_lib.Sexp.t
Sourcetype src_type =
  1. | File
  2. | Channel
  3. | String
Sourceval src_type_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> src_type
Sourceval sexp_of_src_type : src_type -> Ppx_sexp_conv_lib.Sexp.t
Sourcetype syntax_error = {
  1. src : string;
  2. src_type : src_type;
  3. start_pos : int * int;
  4. end_pos : int * int;
  5. token : string;
  6. strict : bool;
  7. around : string;
}
Sourceval syntax_error_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> syntax_error
Sourceval sexp_of_syntax_error : syntax_error -> Ppx_sexp_conv_lib.Sexp.t
Sourceexception Syntax_error of syntax_error
Sourceval get_around : (Core_kernel__Int.t -> int -> string) -> int -> int -> string
Sourceval get_error_info : bool -> string -> src_type -> (Core_kernel__Int.t -> int -> string) -> Lexing.lexbuf -> syntax_error
Sourceval main : ?strict:bool -> string -> src_type -> Lexing.lexbuf -> (Core_kernel__Int.t -> int -> string) -> Webidl_syntax.Ast.definitions
Sourceval ast_from_string : ?strict:bool -> string -> string -> Webidl_syntax.Ast.definitions
Sourceval ast_from_channel : ?strict:bool -> string -> Core.In_channel.t -> Webidl_syntax.Ast.definitions
Sourceval ast_from_file : ?strict:bool -> string -> Webidl_syntax.Ast.definitions
Sourceval data_from_string : ?strict:bool -> string -> string -> (Webidl_syntax.Ast.extends * Data.definition) list
Sourceval data_from_channel : ?strict:bool -> string -> Core.In_channel.t -> (Webidl_syntax.Ast.extends * Data.definition) list
Sourceval data_from_file : ?strict:bool -> string -> (Webidl_syntax.Ast.extends * Data.definition) list
OCaml

Innovation. Community. Security.