package stele
Parameter Make.E
The minimal slice of a Menhir INCREMENTAL_ENGINE the resolution needs: reaching a stack cell by depth and reading its source span. Instantiate it from the parser's MenhirInterpreter — get is MenhirInterpreter.get and positions destructures MenhirInterpreter.Element.
get i env is the i-th stack cell from the top (0-based), or None when the stack is shallower than i. This is MenhirInterpreter.get.
val positions : element -> Lexing.position * Lexing.positionThe source span (start, stop) a stack cell covers. Destructure the engine's Element (_, _, start, stop).