Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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.