package ocamlformat

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module OcamlformatSource

Sourcemodule Assoc : sig ... end
Sourcemodule Ast : sig ... end

Abstract syntax tree terms

Sourcemodule Cmt : sig ... end
Sourcemodule Cmts : sig ... end

Placing and formatting comments in a parsetree.

Sourcemodule Conf : sig ... end

Configuration options

Sourcemodule Config_option : sig ... end
Sourcemodule Docstring : sig ... end
Sourcemodule Exposed : sig ... end

Predicates for determining if an AST starts/ends with a </> symbol (respectively) when printed.

Sourcemodule Extended_ast : sig ... end
Sourcemodule File_system : sig ... end
Sourcemodule Fmt : sig ... end

Formatting combinators

Sourcemodule Fmt_ast : sig ... end

Format OCaml Ast

Sourcemodule Fmt_odoc : sig ... end
Sourcemodule Indent : sig ... end
Sourcemodule Literal_lexer : sig ... end
Sourcemodule Loc_tree : sig ... end
Sourcemodule Migrate_ast : sig ... end
Sourcemodule Multimap : sig ... end

Maps with a list of values attached to a key. This is an extension of the Map module, so these are compatible with Map.mem, etc.

A tree of non-overlapping intervals. Intervals are non-overlapping if whenever 2 intervals share more than an end-point, then one contains the other.

Sourcemodule Normalize_extended_ast : sig ... end
Sourcemodule Normalize_std_ast : sig ... end
Sourcemodule Params : sig ... end
Sourcemodule Parse_with_comments : sig ... end
Sourcemodule Prec : sig ... end
Sourcemodule Range : sig ... end
Sourcemodule Source : sig ... end
Sourcemodule Std_ast : sig ... end

Interface over the AST defined in vendor/ocaml-4.13

Sourcemodule Sugar : sig ... end
Sourcemodule Syntax : sig ... end
Sourcemodule Toplevel_lexer : sig ... end
Sourcemodule Translation_unit : sig ... end
Sourcemodule Version : sig ... end
OCaml

Innovation. Community. Security.