package melange

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

melange-7.0.1-414.tbz
sha256=4cbd885db9801068fb59d13b6e08e13fe3fe091dc14716382a90764ee874a8a7
sha512=155d448a0e84e81541fd0989d3a7f4b96c625ff288aeeccfadf7e36751f1188bc295c999cc725fda5ad157150eed33ebc5735d81820b9fc45772bdbf0f6d9b29

doc/melange.js_parser/Js_parser/Parser_flow/index.html

Module Js_parser.Parser_flowSource

Sourcemodule Sedlexing = Flow_sedlexing
Sourcemodule Ast = Flow_ast
Sourceval filter_duplicate_errors : (Loc.t * Parse_error.t) list -> (Loc.t * Parse_error.t) list
Sourceval check_for_duplicate_exports : Parser_env.env -> (Loc.t * (Loc.t, Loc.t) Ast.Statement.t') list -> unit
Sourceval do_parse : Parser_env.env -> (Parser_env.env -> 'a) -> bool -> 'a * (Loc.t * Parse_error.t) list
Sourceval parse_program : bool -> ?token_sink:(Parser_env.token_sink_result -> unit) option -> ?parse_options:Parser_env.parse_options option -> File_key.t option -> string -> (Loc.t, Loc.t) Flow_ast.Program.t * (Loc.t * Parse_error.t) list
Sourceval program : ?fail:bool -> ?token_sink:(Parser_env.token_sink_result -> unit) option -> ?parse_options:Parser_env.parse_options option -> string -> (Loc.t, Loc.t) Flow_ast.Program.t * (Loc.t * Parse_error.t) list
Sourceval program_file : ?fail:bool -> ?token_sink:(Parser_env.token_sink_result -> unit) option -> ?parse_options:Parser_env.parse_options option -> string -> File_key.t option -> (Loc.t, Loc.t) Flow_ast.Program.t * (Loc.t * Parse_error.t) list
Sourceval parse_annot : ?parse_options:Parser_env.parse_options option -> File_key.t option -> string -> (Loc.t, Loc.t) Flow_ast.Type.annotation * (Loc.t * Parse_error.t) list
Sourceval package_json_file : ?fail:bool -> ?token_sink:(Parser_env.token_sink_result -> unit) option -> ?parse_options:Parser_env.parse_options option -> string -> File_key.t option -> (Loc.t * (Loc.t, Loc.t) Flow_ast.Expression.Object.t) * (Loc.t * Parse_error.t) list
Sourceval json_file : ?fail:bool -> ?token_sink:(Parser_env.token_sink_result -> unit) option -> ?parse_options:Parser_env.parse_options option -> string -> File_key.t option -> (Loc.t, Loc.t) Flow_ast.Expression.t * (Loc.t * Parse_error.t) list
Sourceval jsx_pragma_expression : string -> File_key.t option -> (Loc.t, Loc.t) Flow_ast.Expression.t * (Loc.t * Parse_error.t) list
Sourceval string_is_valid_identifier_name : string -> bool
Sourceval find_ident : predicate:(string -> bool) -> string -> (Loc.t * string) option

* Returns the string and location of the first identifier in input for which * predicate holds.