package melange

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

Install

Dune Dependency

Authors

Maintainers

Sources

melange-2.2.0.tbz
sha256=23859d4598ca9e5faac09abd09892d0e6d6afcd727e146ec48978a997a191584
sha512=1ada6f9e81f3fbb388a09752725e0c8b61d2d9b0d1f5c147186870a271766e8353db4115b7b5d3eb2f916ae9a165e2f4480e44b69883c57a3e2420f47e002a19

doc/melange.js_parser/Js_parser/Parser_env/Peek/index.html

Module Parser_env.PeekSource

Sourceval token : env -> Token.t
Sourceval loc : env -> Loc.t
Sourceval loc_skip_lookahead : env -> Loc.t
Sourceval errors : env -> (Loc.t * Parse_error.t) list
Sourceval comments : env -> Loc.t Flow_ast.Comment.t list
Sourceval has_eaten_comments : env -> bool
Sourceval is_line_terminator : env -> bool
Sourceval is_implicit_semicolon : env -> bool
Sourceval is_identifier : env -> bool
Sourceval is_type_identifier : env -> bool
Sourceval is_identifier_name : env -> bool
Sourceval is_function : env -> bool
Sourceval is_class : env -> bool
Sourceval ith_token : i:int -> env -> Token.t
Sourceval ith_loc : i:int -> env -> Loc.t
Sourceval ith_errors : i:int -> env -> (Loc.t * Parse_error.t) list
Sourceval ith_comments : i:int -> env -> Loc.t Flow_ast.Comment.t list
Sourceval ith_is_line_terminator : i:int -> env -> bool
Sourceval ith_is_implicit_semicolon : i:int -> env -> bool
Sourceval ith_is_identifier : i:int -> env -> bool
Sourceval ith_is_identifier_name : i:int -> env -> bool
Sourceval ith_is_type_identifier : i:int -> env -> bool
OCaml

Innovation. Community. Security.