package js_of_ocaml

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

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-3.10.0.tbz
sha256=7bfe95c283e30a53df9364555517aa4ea614876be566a86b33e6d0fefc4a6126
sha512=1815f0bfcea65a28082293756350a9365304584d3a19af0983e1498c6f8d7d25a751aec18560aa7b633b64b8adfb4417e9647cdf703bedcb7aaf316abf9a3243

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.