Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Make.Input
type 'a promise = 'a Promise.t
Represents an input promise.
trim_buffer t ~pos
removes data from the input buffer up till pos
.
Note After the input buffer is trimmed the parser is unable to backtrack to pos
less than pos
.
get t ~pos ~len
returns `String s
where String.length s <= len
or `Eof
if EOI
is reached.