package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.0-51.tbz
sha256=b1b1c61bb3dff9e8f0a9f450039967aef6b085d88a1088d521cec883ca010310
sha512=119693451a8023dac297e5e8dde81736781fb9b47b73e1adc2dbfeaedc0b48423444a87ad941c4196e4f569591faf7054d7f854aa850d248b566eb718d166eb9

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