/usr/lib/ocaml/ocp-indent-lib/indentExtend.mli is in libocp-indent-lib-ocaml-dev 1.5.3-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | (**************************************************************************)
(* *)
(* All rights reserved.This file is distributed under the terms of the *)
(* GNU Lesser General Public License version 3.0 with linking *)
(* exception. *)
(* *)
(* TypeRex is distributed in the hope that it will be useful, *)
(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)
(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *)
(* Lesser GNU General Public License for more details. *)
(* *)
(**************************************************************************)
exception Syntax_not_found of string
type t = {
keywords : (string * Approx_tokens.token) list;
lexer : (Lexing.lexbuf -> Approx_tokens.token) option
}
(** Register lexer extension.*)
val register : string ->
?keywords:(string * Approx_tokens.token) list ->
?lexer:(Lexing.lexbuf -> Approx_tokens.token) ->
unit -> unit
(** Get available extensions *)
val available : unit -> string list
(** Find an extension by its name *)
val find : string -> t
|