package js_of_ocaml-webidl
Generate js_of_ocaml bindings from webidl definitions
Install
Dune Dependency
Authors
Maintainers
Sources
js_of_ocaml-webgpu-0.1.tbz
sha256=194d9b5aaa28d99a9549807dce68c2563497f2dd96e4e3801f4ad0f1ca9680bb
sha512=0e30ede2ce71c05bf06e10df91a50f1cf3ffc1660a5116b665cc1d98d80877c763dc9460c5854bf51e0f2bcb54d1285ecb5108d9e2d26af9caa281742efdae89
doc/js_of_ocaml-webidl.private-webidl/Webidl/Ast_to_data/index.html
Module Webidl.Ast_to_data
Source
Source
val of_attribute :
[> `Inherit | `ReadOnly | `Static ] list ->
(Webidl.Data.Syntax.Ast.type_with_ext * string) ->
[> `Attribute of Data.attribute ]
Source
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 ]
Source
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 ]
Source
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 ]
Source
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 ]
Source
val of_mixin :
(string * (Webidl.Data.Syntax.Ast.extends * Syntax.Ast.mixin_member) list) ->
[> `Mixin of Data.mixin ]
Source
val of_interface :
(string
* string option
* (Webidl.Data.Syntax.Ast.extends * Syntax.Ast.interface_member) list) ->
[> `Interface of Data.interface ]
Source
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 ]
Source
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 ]
Source
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
Source
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 ]
Source
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 ]
Source
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 ]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>