package ocamlformat-lib

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

Normalize an AST fragment.

val equal : 'a 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 t -> Conf.t -> 'a -> 'a -> Cmt.error Ocamlformat_stdlib.list
OCaml

Innovation. Community. Security.