package melange

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

Install

Dune Dependency

Authors

Maintainers

Sources

melange-5.0.1-52.tbz
sha256=6662a248daefc50a5b1586ea9c2337d70d3dfdb55c690619b179041f8ab9b613
sha512=e767493ed6e50cfc604d1c1a16145dafcad710b3ade407b5ea87bb596439025185f076a5c1236f9c9794b58bf74dde7d32ed9b97ccdc1083078c5b380aa86503

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.