package melange

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

Install

Dune Dependency

Authors

Maintainers

Sources

melange-2.0.0.tbz
sha256=0e213624b1626428a181fa0fbb262eadffb24431e530ad06dca885c6f0cf1e55
sha512=a7517da8aaa5c9bb8690826af3f8ca6dbbf1bccaa3f76d8c522963f0f9d46dc5e280cc4739879fdb09674f178f5664b1ba42c774b533bc51e90332d8bf6722ae

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.