package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-414.tbz
sha256=2d35ea2a1fc8aae9a76b81154626e91dd8c93773b1829cbce7081911cd47f43f
sha512=09e1c3f6ef9572e94882abbce5df7e348c99f0452d23ea3fe75ad3d7df0201adfcb22139a5876e495121eb08c97340a5935633cb1a4b8f019ddf46c5a5258f9a

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