package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.1-51.tbz
sha256=8545aa623cd168307474f9940c955ce3ffff537dc2e8a52bdc22a80098ad83b2
sha512=c36c2aca4b91244de3ab08dbb8231e9a0fa0296528d5c6c7dddef99d408a64b7264b788999c09b4e0b065cf640138629bc38350f965a2b28d84c3a378869845e

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