package js_of_ocaml

  1. Overview
  2. Docs
Compiler from OCaml bytecode to Javascript

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-3.9.0.tbz
sha256=74d3b17b089af04cde29173c9e7a1154b9a784ba415aeef5026440aeb907cb54
sha512=affc91ed58d71e79752595345fcb2afe0d86378a73030ce64ef5624b9fef31925a2c2bb5e772fea017a508da292c351ad89b77e28361ff6f8ed345fecb78b31d

doc/js_of_ocaml.deriving/Deriving_Json_lexer/index.html

Module Deriving_Json_lexer

type lexbuf
val init_lexer : ?buf:Buffer.t -> Lexing.lexbuf -> lexbuf

Create a fresh lexbuf record.

val tag_error : typename:string -> lexbuf -> 'a
val read_int : lexbuf -> int
val read_bounded_int : ?min:int -> max:int -> lexbuf -> int
val read_tag_1 : int -> lexbuf -> int
val read_tag_2 : int -> int -> lexbuf -> int
val read_int32 : lexbuf -> int32
val read_int64 : lexbuf -> int64
val read_number : lexbuf -> float
val read_string : lexbuf -> string
val read_case : lexbuf -> [ `Cst of int | `NCst of int ]
val read_vcase : lexbuf -> [ `Cst of int | `NCst of int ]
val read_comma : lexbuf -> unit
val read_lbracket : lexbuf -> unit
val read_rbracket : lexbuf -> unit
val read_comma_or_rbracket : lexbuf -> [ `Comma | `RBracket ]
OCaml

Innovation. Community. Security.