type ('u, 's) mode = | Single | (** Parse a single s-expression *) | |||
| Many | (** Parse a list of s-expressions *) | |||
| Eager of {
} | (** Gives back s-expressions as soon as they are found. *) |
val empty_stack : stackval empty_stack_cst : stack_cstval new_state : ?initial_pos:Parsexp.Positions.pos ‑> ('u, 's) mode ‑> ('u, 's) kind ‑> ('u, 's) stateval reset : ?pos:Parsexp.Positions.pos ‑> (_, _) state ‑> Base.unitval positions : (Parsexp.Positions.Builder.t, _) state ‑> Parsexp.Positions.tval sexp_of_stack : stack ‑> Base.Sexp.tval sexps_of_stack : stack ‑> Base.Sexp.t Base.listval sexps_cst_of_stack : stack_cst ‑> Parsexp.Cst.t_or_comment Base.listmodule Error : sig ... endexception Parse_error of Error.tval atom_buffer : (_, _) state ‑> Base.Buffer.tmodule Old_parser_cont_state : sig ... end