package ocp-indent-nlfork

  1. Overview
  2. Docs
ocp-indent library, "newline tokens" fork

Install

Dune Dependency

Authors

Maintainers

Sources

nlfork-1.5.4.tar.gz
md5=e9d1a7de64e169536ddf16023b111409
sha512=4637eb4ac2a47001f7b236ad7fdcbf7fe1a659e947a46aacd7ff2f2e386c82c423468aabd6adcabed8caf869d4a8f3f592ea1134b4ba77b7d37080e01cc497dc

doc/ocp-indent-nlfork.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.