package js_of_ocaml

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

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-3.5.2.tbz
sha256=8275a923385e87a33183d35fe5a8d9c1f88780b05069fa39046bb65ecd9cecb7
sha512=5e31ff9d74841241b090d7f385953a46480987bbdd2fe59934c517b3e4ba345a5a6cd590a8305ebdb4040d737f751b3e926664bfea8069a5c92a45f8c1fe8201

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.