package ocp-indent

  1. Overview
  2. Docs
A simple tool to indent OCaml programs

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocp-indent-1.10.0.tbz
sha256=e47c8476554f792ddcb9e73de9e86461266a56674e489d744498be610556c1b7
sha512=8c3e6a05f0692772a14aa533aa436d15100ea28be6592f51174811689ce8c3b717c78803189e450574ae982ab4a062b01251e1e57b971ce95dbd3f41265515f2

doc/ocp-indent.lexer/IndentExtend/index.html

Module IndentExtendSource

Sourceexception Syntax_not_found of string
Sourcetype t = {
  1. keywords : (string * Approx_tokens.token) list;
  2. lexer : (Lexing.lexbuf -> Approx_tokens.token) option;
}
Sourceval register : string -> ?keywords:(string * Approx_tokens.token) list -> ?lexer:(Lexing.lexbuf -> Approx_tokens.token) -> unit -> unit

Register lexer extension.

Sourceval available : unit -> string list

Get available extensions

Sourceval find : string -> t

Find an extension by its name