package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-52.tbz
sha256=4a38934c6244e456366a57dfbfb1a09a2e1e93c3b1cac105242cd6e4311e237f
sha512=2526cfe8c0078d28592e23add72f55dd285c74146d6fb3efacb4f26b086362f36ae4737eb13c3f65cddc426897021f89e5d40c9c30c37a4dd784727a7f5457d6

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