Module Private.Automaton_stack

module For_cst : sig ... end
module Just_positions : sig ... end

The recorded positions are stored elsewhere

type t =
| Empty
| Open of t
| Sexp of Sexplib0.Sexp.t * t
val empty : t
val get_single : t -> Sexplib0.Sexp.t

Raises if t is not exactly one complete sexp.

val get_many : t -> Sexplib0.Sexp.t list

Raises if t contains a partial sexp.