Make.MenhirInterpreter
include MenhirLib.IncrementalEngine.INCREMENTAL_ENGINE with type token = token
type token = token
val offer :
'a checkpoint ->
(token
* MenhirLib.IncrementalEngine.position
* MenhirLib.IncrementalEngine.position) ->
'a checkpoint
val resume : ?strategy:strategy -> 'a checkpoint -> 'a checkpoint
type supplier =
unit ->
token
* MenhirLib.IncrementalEngine.position
* MenhirLib.IncrementalEngine.position
val loop : ?strategy:strategy -> supplier -> 'a checkpoint -> 'a
val loop_handle :
( 'a -> 'answer ) ->
( 'a checkpoint -> 'answer ) ->
supplier ->
'a checkpoint ->
'answer
val loop_handle_undo :
( 'a -> 'answer ) ->
( 'a checkpoint -> 'a checkpoint -> 'answer ) ->
supplier ->
'a checkpoint ->
'answer
val shifts : 'a checkpoint -> 'a env option
val acceptable :
'a checkpoint ->
token ->
MenhirLib.IncrementalEngine.position ->
bool
val number : 'a lr1state -> int
val production_index : production -> int
val find_production : int -> production
type stack = element MenhirLib.General.stream
val current_state_number : 'a env -> int
val positions :
'a env ->
MenhirLib.IncrementalEngine.position * MenhirLib.IncrementalEngine.position
val env_has_default_reduction : 'a env -> bool
val state_has_default_reduction : 'a lr1state -> bool
val force_reduction : production -> 'a env -> 'a env
val input_needed : 'a env -> 'a checkpoint