package melange

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

Install

Dune Dependency

Authors

Maintainers

Sources

melange-5.1.0-52.tbz
sha256=1062089c60a8dc900363213898bc39173926e0e07e57dca2d9ac95d2556adefd
sha512=6581a4a2f6f50783324967362acf4d5404b735e3c02f0d1659d58cb9b5a2a37b6f03c2346f652a2f77a042b84cfb27a0139d7674f81f0edb7a6b7b558c8c4235

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.