package ocp-indent-nlfork

  1. Overview
  2. Docs
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.