package js_of_ocaml-webidl

  1. Overview
  2. Docs
module Syntax = Webidl_syntax
val of_attribute : [> `Inherit | `ReadOnly | `Static ] list -> (Webidl.Data.Syntax.Ast.type_with_ext * string) -> [> `Attribute of Data.attribute ]
val of_operation : Data.special list -> bool -> [< `NoSpecialOperation of Webidl.Data.Syntax.Ast.return_type * (string option * (Webidl.Data.Syntax.Ast.extends * Webidl.Data.Syntax.Ast.argument) list) | `SpecialOperation of Data.special list * Webidl.Data.Syntax.Ast.return_type * (string option * (Webidl.Data.Syntax.Ast.extends * Webidl.Data.Syntax.Ast.argument) list) ] -> [> `Operation of Data.operation ]
val of_readonly : [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string | `Maplike of Webidl.Data.Syntax.Ast.type_with_ext * Webidl.Data.Syntax.Ast.type_with_ext | `Setlike of Webidl.Data.Syntax.Ast.type_with_ext ] -> [> `Attribute of Data.attribute | `Maplike of Data.maplike | `Setlike of Data.setlike ]
val of_static : [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string | `NoSpecialOperation of Webidl.Data.Syntax.Ast.return_type * (string option * (Webidl.Data.Syntax.Ast.extends * Webidl.Data.Syntax.Ast.argument) list) | `ReadOnly of [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string ] ] -> [> `Attribute of Data.attribute | `Operation of Data.operation ]
val of_stringifier : [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string | `NoSpecialOperation of Webidl.Data.Syntax.Ast.return_type * (string option * (Webidl.Data.Syntax.Ast.extends * Webidl.Data.Syntax.Ast.argument) list) | `None | `ReadOnly of [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string ] ] -> [> `Attribute of Data.attribute | `None | `Operation of Data.operation ]
val map_snd : ('a -> 'b) -> ('c * 'a) list -> ('c * 'b) list
val of_mixin : (string * (Webidl.Data.Syntax.Ast.extends * Syntax.Ast.mixin_member) list) -> [> `Mixin of Data.mixin ]
val of_interface : (string * string option * (Webidl.Data.Syntax.Ast.extends * Syntax.Ast.interface_member) list) -> [> `Interface of Data.interface ]
val of_namespace_member : [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string | `NoSpecialOperation of Webidl.Data.Syntax.Ast.return_type * (string option * (Webidl.Data.Syntax.Ast.extends * Webidl.Data.Syntax.Ast.argument) list) | `ReadOnly of [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string ] ] -> [> `Attribute of Data.attribute | `Operation of Data.operation ]
val of_namespace : (string * (Webidl.Data.Syntax.Ast.extends * [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string | `NoSpecialOperation of Webidl.Data.Syntax.Ast.return_type * (string option * (Webidl.Data.Syntax.Ast.extends * Webidl.Data.Syntax.Ast.argument) list) | `ReadOnly of [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string ] ]) list) -> [> `Namespace of Data.namespace ]
val of_dictionary_member : [< `NotRequired of Webidl.Data.Syntax.Ast.type_ * string * Webidl.Data.Syntax.Ast.default_value option | `Required of Webidl.Data.Syntax.Ast.type_with_ext * string * Webidl.Data.Syntax.Ast.default_value option ] -> Data.dictionary_member
val of_dictionary : (string * string option * (Webidl.Data.Syntax.Ast.extends * [< `NotRequired of Webidl.Data.Syntax.Ast.type_ * string * Webidl.Data.Syntax.Ast.default_value option | `Required of Webidl.Data.Syntax.Ast.type_with_ext * string * Webidl.Data.Syntax.Ast.default_value option ]) list) -> [> `Dictionary of Data.dictionary ]
val of_partial : [< `Mixin of string * (Webidl.Data.Syntax.Ast.extends * Syntax.Ast.mixin_member) list | `Namespace of string * (Webidl.Data.Syntax.Ast.extends * [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string | `NoSpecialOperation of Webidl.Data.Syntax.Ast.return_type * (string option * (Webidl.Data.Syntax.Ast.extends * Webidl.Data.Syntax.Ast.argument) list) | `ReadOnly of [< `AttributeRest of Webidl.Data.Syntax.Ast.type_with_ext * string ] ]) list | `PartialDictionary of string * (Webidl.Data.Syntax.Ast.extends * [< `NotRequired of Webidl.Data.Syntax.Ast.type_ * string * Webidl.Data.Syntax.Ast.default_value option | `Required of Webidl.Data.Syntax.Ast.type_with_ext * string * Webidl.Data.Syntax.Ast.default_value option ]) list | `PartialInterface of string * (Webidl.Data.Syntax.Ast.extends * Syntax.Ast.interface_member) list ] -> [> `Dictionary of Data.dictionary | `Interface of Data.interface | `Mixin of Data.mixin | `Namespace of Data.namespace ]
val of_callback : [< `CallbackRest of string * Webidl.Data.Syntax.Ast.return_type * (Webidl.Data.Syntax.Ast.extends * Webidl.Data.Syntax.Ast.argument) list | `Interface of string * string option * (Webidl.Data.Syntax.Ast.extends * Syntax.Ast.interface_member) list ] -> [> `Interface of Data.interface | `Operation of Data.operation ]
val of_definition : Syntax.Ast.definition -> Data.definition
val of_difinitions : ('a * Syntax.Ast.definition) list -> ('a * Data.definition) list
OCaml

Innovation. Community. Security.