package fmlib

  1. Overview
  2. Docs

Parameters

Signature

type t = {
  1. pos : Position.t;
  2. indent : Indent.t;
  3. user : User.t;
}
val make : Position.t -> User.t -> t
val position : t -> Position.t
val line : t -> int
val column : t -> int
val user : t -> User.t
val put : User.t -> t -> t
val update : (User.t -> User.t) -> t -> t
val indent : t -> Indent.t
val next : char -> t -> t
val check_position : t -> Indent.violation option
val align : t -> t
val left_align : t -> t
val start_detach : t -> t
val end_detach : t -> t -> t
val start_indent : int -> t -> t
val end_indent : int -> t -> t -> t
OCaml

Innovation. Community. Security.