package ansifmt

  1. Overview
  2. Docs

Module Formatting.TreeSource

Sourcetype t =
  1. | Simple of Token.t list
  2. | Parenthesized of t
  3. | Block of t list
Sourceval simple : Token.t list -> t
Sourceval parenthesized : t -> t
Sourceval block : t list -> t
Sourceval parenthesize_if : ('a -> bool) -> ('a -> t) -> 'a -> t
Sourceval format : ?parentheses:(string * string) -> ?stylizer:Stylizer.t -> t -> string
OCaml

Innovation. Community. Security.