package parsexp

  1. Overview
  2. Docs

Module Private.Automaton_stackSource

Sourcemodule For_cst : sig ... end
Sourcemodule Just_positions : sig ... end

The recorded positions are stored elsewhere

Sourcetype t =
  1. | Empty
  2. | Open of t
  3. | Sexp of Sexplib0.Sexp.t * t
Sourceval empty : t
Sourceval get_single : t -> Sexplib0.Sexp.t

Raises if t is not exactly one complete sexp.

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

Raises if t contains a partial sexp.