IndentExtend
type t = {
keywords : (string * Approx_tokens.token) list; |
lexer : (Stdlib.Lexing.lexbuf -> Approx_tokens.token) option; |
}
val register : string -> ?keywords:(string * Approx_tokens.token) list -> ?lexer:(Stdlib.Lexing.lexbuf -> Approx_tokens.token) ->
unit -> unit
Register lexer extension.
val find : string -> t
Find an extension by its name