package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-5.3-502.tbz
sha256=2cea46f12397fa6e31ef0c0d4f5e11c1cfd916ee49420694005c95ebb3aa24bc
sha512=e94abb9ae38149245337db033e2c3891c7ec772168e99abf1bda0216a894c0854e7170b56fe88eba83ec98f2ebc0f5c7c723e8db14f59eeb6dd348bec12c6d62

doc/merlin-lib.ocaml_parsing/Ocaml_parsing/Pprintast/index.html

Module Ocaml_parsing.PprintastSource

Pretty-printers for Parsetree

Warning: this module is unstable and part of compiler-libs.

Sourcetype space_formatter = (unit, Format.formatter, unit) format
Sourceval longident : Format.formatter -> Longident.t -> unit
Sourceval expression : Format.formatter -> Parsetree.expression -> unit
Sourceval string_of_expression : Parsetree.expression -> string
Sourceval pattern : Format.formatter -> Parsetree.pattern -> unit
Sourceval core_type : Format.formatter -> Parsetree.core_type -> unit
Sourceval signature : Format.formatter -> Parsetree.signature -> unit
Sourceval structure : Format.formatter -> Parsetree.structure -> unit
Sourceval string_of_structure : Parsetree.structure -> string
Sourceval module_expr : Format.formatter -> Parsetree.module_expr -> unit
Sourceval toplevel_phrase : Format.formatter -> Parsetree.toplevel_phrase -> unit
Sourceval class_field : Format.formatter -> Parsetree.class_field -> unit
Sourceval class_type_field : Format.formatter -> Parsetree.class_type_field -> unit
Sourceval class_expr : Format.formatter -> Parsetree.class_expr -> unit
Sourceval class_type : Format.formatter -> Parsetree.class_type -> unit
Sourceval module_type : Format.formatter -> Parsetree.module_type -> unit
Sourceval structure_item : Format.formatter -> Parsetree.structure_item -> unit
Sourceval signature_item : Format.formatter -> Parsetree.signature_item -> unit
Sourceval payload : Format.formatter -> Parsetree.payload -> unit
Sourceval tyvar_of_name : string -> string

Turn a type variable name into a valid identifier, taking care of the special treatment required for the single quote character in second position, or for keywords by escaping them with \#. No-op on "_".

Sourceval tyvar : Format.formatter -> string -> unit

Print a type variable name as a valid identifier, taking care of the special treatment required for the single quote character in second position, or for keywords by escaping them with \#. No-op on "_".

Sourceval case_list : Format.formatter -> Parsetree.case list -> unit
Sourceval ident_of_name : Format.formatter -> string -> unit
Sourceval needs_parens : string -> bool
OCaml

Innovation. Community. Security.