package js_of_ocaml-webidl

  1. Overview
  2. Docs

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.