package ocp-indent

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.7.0.tar.gz
md5=3bc327e38f453f38494098725c97d2cb
sha512=5b28ae8695612c95cb0f5748de9b9f01d8ef4ad18b31340dc526ccae5fb1b6ee7e12024ff1beb817a43796183a83bca144222ca2d77d7750f2ff56108b5fa350

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

OCaml

Innovation. Community. Security.