package ocamlformat

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val ast : 'a Std_ast.t -> Conf.t -> 'a -> 'a

Normalize an AST fragment.

val equal : 'a Std_ast.t -> ignore_doc_comments:Ocamlformat_stdlib.bool -> Conf.t -> 'a -> 'a -> Ocamlformat_stdlib.bool

Compare fragments for equality up to normalization.

val moved_docstrings : 'a Std_ast.t -> Conf.t -> 'a -> 'a -> Docstring.error Ocamlformat_stdlib.list