package opine

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. source : Base.Buffer.t;
  2. indent : Base.int;
  3. expr_precedences : (PyreAst.Concrete.Expression.t, Precedence.t) Base.Hashtbl.t;
  4. avoid_backslashes : Base.bool;
}
val make_t : source:Base.Buffer.t -> indent:Base.int -> expr_precedences:(PyreAst.Concrete.Expression.t, Precedence.t) Base.Hashtbl.t -> avoid_backslashes:Base.bool -> Base.unit -> t
val default_hash_size : int
val default : unit -> t
val (++=) : t -> string -> t
val block : t -> (t -> t) -> t
val delimit : t -> string -> string -> (t -> t) -> t
val delimit_if : t -> string -> string -> bool -> (t -> t) -> t
val require_parens : t -> Precedence.t -> Precedence.t -> (t -> t) -> t
val buffered : (t -> 'a) -> 'a
OCaml

Innovation. Community. Security.