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/Data/index.html
Module Webidl.Data
Source
Source
type attribute = {
is_static : bool;
is_readonly : bool;
is_inherit : bool;
type_with_ext : Syntax.Ast.type_with_ext;
name : string;
}
Source
type operation = {
specials : special list;
is_static : bool;
return_type : Syntax.Ast.return_type;
ident : string option;
arguments : (Syntax.Ast.extends * Syntax.Ast.argument) list;
}
Source
type dictionary_member = {
is_required : bool;
type_with_ext : Syntax.Ast.type_with_ext;
ident : string;
default : Syntax.Ast.default_value option;
}
Source
type dictionary = {
ident : string;
inheritance : string option;
dictionary_members : (Syntax.Ast.extends * dictionary_member) list;
}
Source
type namespace = {
ident : string;
namespace_members : (Syntax.Ast.extends * namespace_member) list;
}
Source
type maplike = {
is_readonly : bool;
key_type : Syntax.Ast.type_with_ext;
value_type : Syntax.Ast.type_with_ext;
}
Source
type interface_member = [
| `Const of Syntax.Ast.const_type * string * Syntax.Ast.const_value
| `Operation of operation
| `Stringifier of [ operation_or_attribute | `None ]
| `Iterable of Syntax.Ast.type_with_ext * Syntax.Ast.type_with_ext option
| `Attribute of attribute
| `Maplike of maplike
| `Setlike of setlike
]
Source
type interface = {
ident : string;
inheritance : string option;
interface_members : (Syntax.Ast.extends * interface_member) list;
}
Source
type mixin_member = [
| `Const of Syntax.Ast.const_type * string * Syntax.Ast.const_value
| `Operation of operation
| `Stringifier of [ operation_or_attribute | `None ]
| `Attribute of attribute
| `Maplike of maplike
| `Setlike of setlike
]
Source
type partial = [
| `Interface of interface
| `Mixin of mixin
| `Dictionary of dictionary
| `Namespace of namespace
]
Source
type definition = [
| `Callback of callback
| `Interface of interface
| `Mixin of mixin
| `Namespace of namespace
| `Partial of partial
| `Dictionary of dictionary
| `Enum of string * string list
| `Typedef of Syntax.Ast.type_with_ext * string
| `Implements of string * string
| `Includes of string * string
]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>