`sig
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 of string
| StopLexing
| LexNone
val string_of_token : Pdfgenlex.t -> string
val string_of_tokens : Pdfgenlex.t list -> string
val lex_single : Pdfio.input -> Pdfgenlex.t
val lex : Pdfio.input -> Pdfgenlex.t list
val lex_string : string -> Pdfgenlex.t list
end`