Class type Cps_reader.t


class type t = object .. end
The basic reader interface.

method peek_char : (Utf8_char.t -> unit) -> unit
peek at the next char without removing it
method read_char : (Utf8_char.t -> unit) -> unit
read the next char
method read_while : (Utf8_char.t -> bool) -> (string -> unit) -> unit
read while pred returns true for each character, and return the result as a string

this is just a performance optimization, and could in principle be implemented on top of peek_char and read_char.