ocp-indent-nlfork

ocp-indent library, "newline tokens" fork
IN THIS PACKAGE
Module IndentExtend
exception Syntax_not_found of string
type t = {
keywords : (string * Approx_tokens.token) list;
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