File: TODO.md

package info (click to toggle)
jsonm 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 224 kB
  • sloc: ml: 1,318; makefile: 32
file content (12 lines) | stat: -rw-r--r-- 640 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
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]. *)