package ocamlformat-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val empty_line_between : t -> Lexing.position -> Lexing.position -> Ocamlformat_stdlib.bool

empty_line_between t p1 p2 is true if there is an empty line between p1 and p2. The lines containing p1 and p2 are not considered empty.

val empty_line_before : t -> Ocaml_common.Location.t -> Ocamlformat_stdlib.bool
val string_literal : t -> [ `Normalize | `Preserve ] -> Ocaml_common.Location.t -> Ocamlformat_stdlib.string
val extend_loc_to_include_attributes : Ocaml_common.Location.t -> Extended_ast.attributes -> Ocaml_common.Location.t
OCaml

Innovation. Community. Security.