/usr/lib/ocaml/camlpdf/pdfgenlex.mli is in libcamlpdf-ocaml-dev 2.2.1-1build1.
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 32 | (** A very fast lexer for very basic tokens. Used internally by [Pdfread]. *)
(**/**)
type t =
| LexNull
| LexBool of bool
| LexInt of int
| LexReal of float
| LexString of string
| LexName of string
| LexLeftSquare
| LexRightSquare
| LexLeftDict
| LexRightDict
| LexStream of Pdf.stream
| LexEndStream
| LexObj
| LexEndObj
| LexR
| LexComment
| StopLexing
| LexNone
val string_of_token : t -> string
val string_of_tokens : t list -> string
val lex_single : (Pdfio.input -> t)
val lex : (Pdfio.input -> t list)
val lex_string : string -> t list
|