camlpdf

Read, write and modify PDF files
Library camlpdf
Module Pdfgenlex
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 is_delimiter : char -> bool
val is_not_whitespace : char -> bool
val is_whitespace_or_delimiter : char -> bool
val lex_item : string -> t
val lengthuntil : Pdfio.input -> int -> int
val strings : bytes array
val getuntil : Pdfio.input -> string
val ignoreuntil : ( char -> bool ) -> Pdfio.input -> unit
val dropwhite : Pdfio.input -> unit
val get_string_inner : Buffer.t -> Pdfio.input -> unit
val b : Buffer.t
val get_string : Pdfio.input -> string
val get_section : Pdfio.input -> string
val lex_single : Pdfio.input -> t
val lex_inner : t list -> Pdfio.input -> t list
val lex : Pdfio.input -> t list
val lex_string : string -> t list