package js_of_ocaml

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

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-3.6.0.tbz
sha256=51eaa89c83ef3168ef270bf7997cbc35a747936d3f51aa6fac58fb0323b4cbb0
sha512=a2171a2583e9a1be6b4a87c9958aa2b4936b1f19030f09d787c4824d04db864773dd1da10d0dd56822f279309c8217093552b94e2e93c8b01eba5f432afc7718

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.