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_syntax/Webidl_syntax/Ast/index.html
Module Webidl_syntax.Ast
Source
Source
type primitive = [
| `Boolean
| `Byte
| `Octet
| `Unrestricted of [ `Float | `Double ]
| `Float
| `Double
| `Unsigned of [ `Short | `Long | `LongLong ]
| `Short
| `Long
| `LongLong
]
Source
type buffer = [
| `ArrayBuffer
| `DataView
| `Int8Array
| `Int16Array
| `Int32Array
| `Uint8Array
| `Uint16Array
| `Uint32Array
| `Uint8Clampedarray
| `Float32Array
| `Float64Array
]
Source
type 'type_with_ext nullable_non_any_aux = [
| primitive
| string_type
| `Ident of string
| `Sequence of 'type_with_ext
| `Object
| `Error
| `DomException
| buffer
| `FrozenArray of 'type_with_ext
| `Record of string_type * 'type_with_ext
]
Source
val __nullable_non_any_aux_of_sexp__ :
'type_with_ext. (Ppx_sexp_conv_lib.Sexp.t -> 'type_with_ext) ->
Ppx_sexp_conv_lib.Sexp.t ->
'type_with_ext nullable_non_any_aux
Source
val nullable_non_any_aux_of_sexp :
'type_with_ext. (Ppx_sexp_conv_lib.Sexp.t -> 'type_with_ext) ->
Ppx_sexp_conv_lib.Sexp.t ->
'type_with_ext nullable_non_any_aux
Source
val sexp_of_nullable_non_any_aux :
'type_with_ext. ('type_with_ext -> Ppx_sexp_conv_lib.Sexp.t) ->
'type_with_ext nullable_non_any_aux ->
Ppx_sexp_conv_lib.Sexp.t
Source
type ('type_with_ext, 'union_type) nullable_union_aux = [
| 'type_with_ext nullable_non_any_aux
| `Union of 'union_type
]
Source
val __nullable_union_aux_of_sexp__ :
'type_with_ext 'union_type. (Ppx_sexp_conv_lib.Sexp.t -> 'type_with_ext) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'union_type) ->
Ppx_sexp_conv_lib.Sexp.t ->
('type_with_ext, 'union_type) nullable_union_aux
Source
val nullable_union_aux_of_sexp :
'type_with_ext 'union_type. (Ppx_sexp_conv_lib.Sexp.t -> 'type_with_ext) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'union_type) ->
Ppx_sexp_conv_lib.Sexp.t ->
('type_with_ext, 'union_type) nullable_union_aux
Source
val sexp_of_nullable_union_aux :
'type_with_ext 'union_type. ('type_with_ext -> Ppx_sexp_conv_lib.Sexp.t) ->
('union_type -> Ppx_sexp_conv_lib.Sexp.t) ->
('type_with_ext, 'union_type) nullable_union_aux ->
Ppx_sexp_conv_lib.Sexp.t
Source
type ('type_with_ext, 'return_type) non_any_aux = [
| `Promise of 'return_type
| `Nullable of 'type_with_ext nullable_non_any_aux
| 'type_with_ext nullable_non_any_aux
]
Source
val __non_any_aux_of_sexp__ :
'type_with_ext 'return_type. (Ppx_sexp_conv_lib.Sexp.t -> 'type_with_ext) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'return_type) ->
Ppx_sexp_conv_lib.Sexp.t ->
('type_with_ext, 'return_type) non_any_aux
Source
val non_any_aux_of_sexp :
'type_with_ext 'return_type. (Ppx_sexp_conv_lib.Sexp.t -> 'type_with_ext) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'return_type) ->
Ppx_sexp_conv_lib.Sexp.t ->
('type_with_ext, 'return_type) non_any_aux
Source
val sexp_of_non_any_aux :
'type_with_ext 'return_type. ('type_with_ext -> Ppx_sexp_conv_lib.Sexp.t) ->
('return_type -> Ppx_sexp_conv_lib.Sexp.t) ->
('type_with_ext, 'return_type) non_any_aux ->
Ppx_sexp_conv_lib.Sexp.t
Source
type ('type_with_ext, 'return_type, 'union_type, 'extends) union_member_aux = [
| `NonAny of 'extends * ('type_with_ext, 'return_type) non_any_aux
| `Union of 'union_type
| `Nullable of [ `Union of 'union_type ]
]
Source
val __union_member_aux_of_sexp__ :
'type_with_ext 'return_type 'union_type 'extends. (Ppx_sexp_conv_lib.Sexp.t ->
'type_with_ext) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'return_type) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'union_type) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'extends) ->
Ppx_sexp_conv_lib.Sexp.t ->
('type_with_ext, 'return_type, 'union_type, 'extends) union_member_aux
Source
val union_member_aux_of_sexp :
'type_with_ext 'return_type 'union_type 'extends. (Ppx_sexp_conv_lib.Sexp.t ->
'type_with_ext) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'return_type) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'union_type) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'extends) ->
Ppx_sexp_conv_lib.Sexp.t ->
('type_with_ext, 'return_type, 'union_type, 'extends) union_member_aux
Source
val sexp_of_union_member_aux :
'type_with_ext 'return_type 'union_type 'extends. ('type_with_ext ->
Ppx_sexp_conv_lib.Sexp.t) ->
('return_type -> Ppx_sexp_conv_lib.Sexp.t) ->
('union_type -> Ppx_sexp_conv_lib.Sexp.t) ->
('extends -> Ppx_sexp_conv_lib.Sexp.t) ->
('type_with_ext, 'return_type, 'union_type, 'extends) union_member_aux ->
Ppx_sexp_conv_lib.Sexp.t
Source
type ('type_with_ext, 'return_type, 'union_type, 'extends) union_type_aux =
('type_with_ext, 'return_type, 'union_type, 'extends) union_member_aux list
Source
val union_type_aux_of_sexp :
'type_with_ext 'return_type 'union_type 'extends. (Ppx_sexp_conv_lib.Sexp.t ->
'type_with_ext) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'return_type) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'union_type) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'extends) ->
Ppx_sexp_conv_lib.Sexp.t ->
('type_with_ext, 'return_type, 'union_type, 'extends) union_type_aux
Source
val sexp_of_union_type_aux :
'type_with_ext 'return_type 'union_type 'extends. ('type_with_ext ->
Ppx_sexp_conv_lib.Sexp.t) ->
('return_type -> Ppx_sexp_conv_lib.Sexp.t) ->
('union_type -> Ppx_sexp_conv_lib.Sexp.t) ->
('extends -> Ppx_sexp_conv_lib.Sexp.t) ->
('type_with_ext, 'return_type, 'union_type, 'extends) union_type_aux ->
Ppx_sexp_conv_lib.Sexp.t
Source
type ('type_with_ext, 'return_type, 'union_type) type_aux = [
| `Promise of 'return_type
| 'type_with_ext nullable_non_any_aux
| `Any
| `Nullable of ('type_with_ext, 'union_type) nullable_union_aux
| `Union of 'union_type
]
Source
val __return_type_aux_of_sexp__ :
'type_with_ext 'return_type 'union_type. (Ppx_sexp_conv_lib.Sexp.t ->
'type_with_ext) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'return_type) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'union_type) ->
Ppx_sexp_conv_lib.Sexp.t ->
('type_with_ext, 'return_type, 'union_type) return_type_aux
Source
val return_type_aux_of_sexp :
'type_with_ext 'return_type 'union_type. (Ppx_sexp_conv_lib.Sexp.t ->
'type_with_ext) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'return_type) ->
(Ppx_sexp_conv_lib.Sexp.t -> 'union_type) ->
Ppx_sexp_conv_lib.Sexp.t ->
('type_with_ext, 'return_type, 'union_type) return_type_aux
Source
val sexp_of_return_type_aux :
'type_with_ext 'return_type 'union_type. ('type_with_ext ->
Ppx_sexp_conv_lib.Sexp.t) ->
('return_type -> Ppx_sexp_conv_lib.Sexp.t) ->
('union_type -> Ppx_sexp_conv_lib.Sexp.t) ->
('type_with_ext, 'return_type, 'union_type) return_type_aux ->
Ppx_sexp_conv_lib.Sexp.t
Source
and argument = [
| `Optional of type_with_ext * string * default_value option
| `Variadic of type_ * string
| `Fixed of type_ * string
]
Source
and extended_attribute = [
| `Custom of string
| `NoArgs of string
| `ArgumentList of string * extended_argument list
| `NamedArgList of string * string * extended_argument list
| `Ident of string * string
| `IdentList of string * string list
]
Source
type operation = [
| no_special_operation
| `SpecialOperation of special list * return_type * operation_rest
]
Source
type dictionary_member = [
| `Required of type_with_ext * string * default_value option
| `NotRequired of type_ * string * default_value option
]
Source
type interface_member = [
| `ReadOnly of readonly_member
| `Static of static_member
| `Const of const_type * string * const_value
| `Operation of operation
| `Stringifier of [ static_member | `None ]
| `Iterable of type_with_ext * type_with_ext option
| `Attribute of attribute
| `Maplike of maplike
| `Setlike of setlike
]
Source
type mixin_member = [
| `Attribute of attribute
| `ReadOnly of readonly_member
| `Const of const_type * string * const_value
| `Operation of operation
| `Stringifier of [ static_member | `None ]
]
Source
type partial = [
| `PartialInterface of string * (extends * interface_member) list
| `Mixin of mixin
| `PartialDictionary of string * (extends * dictionary_member) list
| `Namespace of namespace
]
Source
type callback = [
| `CallbackRest of string * return_type * (extends * argument) list
| `Interface of interface
]
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 type_with_ext * string
| `Includes of string * string
| `Implements of string * string
]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>