package melange

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

Install

Dune Dependency

Authors

Maintainers

Sources

melange-5.0.0-51.tbz
sha256=acf53aa6acc40e8e6178690784c19fc2c17c7a50e8868a6d35b6d9c867162ca0
sha512=8d4d97714a33c3b67d2d927fc06b08817ab9ec11cc31d7cf217d88c06b4e77644e3d7fe5a30af6dfc8782f69b62e98f67aa48e340c78625b89fc7f65c5ff9703

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.