This file is indexed.

/usr/lib/ocaml/tyxml/tyxml_name.mli is in libtyxml-ocaml-dev 3.5.0-1.

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
(** Gives the tyxml names for HTML elements and attributes. *)

(** The transformations are the following:
    - Valid letters in OCaml identifiers are kept.
    - Everything else is turn into an underscore '_'.
*)
val to_ocaml : string -> string

(** Turn the given element name into a valid identifier.

    Follow the [to_ocaml] convention and lowercase the first letter. *)
val ident : string -> string


(** Turn the given attribute name into a valid identifier.

    Follow the [to_ocaml] convention and add ["a_"] at the beginning. *)
val attrib : string -> string

(** Turn the given name into a valid Polymorphic variant name.

    Follow the [to_ocaml] convention, uppercase the first letter and add ["`"]. *)
val polyvar : string -> string