Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 640 Bytes

TODO.md

File metadata and controls

12 lines (11 loc) · 640 Bytes

val skip : decoder -> [ A | O | Element | Member ] -> unit (** [skip d construct] skips lexemes depending on [construct]: {ul {- [A] skips {e past} the [A_end] matching the last decoded [A_start].} {- [O] skips {e past} the [O_end] matching the last decoded [O_start].} {- [Element] skips {e to} the next element of the last decoded [A_start] or {e to} [A_end] if there is none.} {- [Member] skips {e to} the next [Name] of the last decoded [O_start] or {e to} [`O_end] if there is none.}}

{b Raises} [Invalid_argument] if [d] is not in the right 
state to skip [construct]. *)