package melange

  1. Overview
  2. Docs
Toolchain to produce JS from Reason/OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

melange-5.0.0-53.tbz
sha256=659dff4dd844250ef8437c09916aa888e3447d5eb1efbcf449bafc7008ab5db0
sha512=1051b793452b3a7e053aa3ca6d2e3742d75eb39da04bce8e53fc8753fa593391446342604a6740f9c346e81b2781a709648bf6a8a97a2342e2549c7401a1b0eb

doc/melange.js_parser/Js_parser/Lex_result/index.html

Module Js_parser.Lex_resultSource

Sourcetype t = {
  1. lex_token : Token.t;
  2. lex_loc : Loc.t;
  3. lex_errors : (Loc.t * Parse_error.t) list;
  4. lex_comments : Loc.t Flow_ast.Comment.t list;
}
Sourceval token : t -> Token.t
Sourceval loc : t -> Loc.t
Sourceval comments : t -> Loc.t Flow_ast.Comment.t list
Sourceval errors : t -> (Loc.t * Parse_error.t) list
Sourceval debug_string_of_lex_result : t -> string
OCaml

Innovation. Community. Security.