package ocp-indent-nlfork

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

Install

Dune Dependency

Authors

Maintainers

Sources

nlfork-1.5.5.tar.gz
md5=d3ab3fc0b28674bdd2debe9ada1e5564
sha512=dc13da22e286b8f8005b2ec50e790ff48e80535747fe84a832a29879e482de32d14185a30dd1c8eaf7a6e5c6a700144eb862bb7fab4c8e1c99b7eb5fc271a09f

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

Module IndentExtend

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

Register lexer extension.

val available : unit -> string list

Get available extensions

val find : string -> t

Find an extension by its name

OCaml

Innovation. Community. Security.