module U: sig
.. end
val list : ?start:string ->
?stop:string -> ?sep:string -> 'a CCParse.t -> 'a list CCParse.t
list p
parses a list of p
, with the OCaml conventions for
start token "", stop token "
" and separator ";".
Whitespace between items are skipped
val int : int CCParse.t
val word : string CCParse.t
non empty string of alpha num, start with alpha
val pair : ?start:string ->
?stop:string ->
?sep:string -> 'a CCParse.t -> 'b CCParse.t -> ('a * 'b) CCParse.t
Parse a pair using OCaml whitespace conventions.
The default is "(a, b)".
val triple : ?start:string ->
?stop:string ->
?sep:string ->
'a CCParse.t -> 'b CCParse.t -> 'c CCParse.t -> ('a * 'b * 'c) CCParse.t
Parse a triple using OCaml whitespace conventions.
The default is "(a, b, c)".