Parameter Make.Parser
include Ocaml_preprocess.MenhirLib.IncrementalEngine.INCREMENTAL_ENGINE
type 'a checkpoint = private | InputNeeded of 'a Parser.env| Shifting of 'a Parser.env * 'a Parser.env * bool| AboutToReduce of 'a Parser.env * Parser.production| HandlingError of 'a Parser.env| Accepted of 'a| Rejected
val resume :
?strategy:Parser.strategy ->
'a Parser.checkpoint ->
'a Parser.checkpointtype supplier =
unit ->
Parser.token
* Ocaml_preprocess.MenhirLib.IncrementalEngine.position
* Ocaml_preprocess.MenhirLib.IncrementalEngine.positionval lexer_lexbuf_to_supplier :
(Stdlib.Lexing.lexbuf -> Parser.token) ->
Stdlib.Lexing.lexbuf ->
Parser.supplierval loop :
?strategy:Parser.strategy ->
Parser.supplier ->
'a Parser.checkpoint ->
'aval loop_handle :
('a -> 'answer) ->
('a Parser.checkpoint -> 'answer) ->
Parser.supplier ->
'a Parser.checkpoint ->
'answerval loop_handle_undo :
('a -> 'answer) ->
('a Parser.checkpoint -> 'a Parser.checkpoint -> 'answer) ->
Parser.supplier ->
'a Parser.checkpoint ->
'answerval shifts : 'a Parser.checkpoint -> 'a Parser.env optionval acceptable :
'a Parser.checkpoint ->
Parser.token ->
Ocaml_preprocess.MenhirLib.IncrementalEngine.position ->
boolval number : _ Parser.lr1state -> intval production_index : Parser.production -> intval find_production : int -> Parser.productiontype stack = Parser.element Ocaml_preprocess.MenhirLib.General.streamval stack : 'a Parser.env -> Parser.stackval top : 'a Parser.env -> Parser.element optionval pop_many : int -> 'a Parser.env -> 'a Parser.env optionval get : int -> 'a Parser.env -> Parser.element optionval current_state_number : 'a Parser.env -> intval equal : 'a Parser.env -> 'a Parser.env -> boolval env_has_default_reduction : 'a Parser.env -> boolval state_has_default_reduction : _ Parser.lr1state -> boolval pop : 'a Parser.env -> 'a Parser.env optionval force_reduction : Parser.production -> 'a Parser.env -> 'a Parser.envval input_needed : 'a Parser.env -> 'a Parser.checkpointinclude Ocaml_preprocess.MenhirLib.IncrementalEngine.INSPECTION
with type 'a lr1state := 'a Parser.lr1state
with type production := Parser.production
with type 'a env := 'a Parser.env
include Ocaml_preprocess.MenhirLib.IncrementalEngine.SYMBOLS
type 'a symbol = | T : 'a Parser.terminal -> 'a Parser.symbol| N : 'a Parser.nonterminal -> 'a Parser.symbol
type item = Parser.production * intval compare_terminals : _ Parser.terminal -> _ Parser.terminal -> intval compare_nonterminals : _ Parser.nonterminal -> _ Parser.nonterminal -> intval compare_symbols : Parser.xsymbol -> Parser.xsymbol -> intval compare_productions : Parser.production -> Parser.production -> intval compare_items : Parser.item -> Parser.item -> intval incoming_symbol : 'a Parser.lr1state -> 'a Parser.symbolval items : _ Parser.lr1state -> Parser.item listval lhs : Parser.production -> Parser.xsymbolval rhs : Parser.production -> Parser.xsymbol listval nullable : _ Parser.nonterminal -> boolval first : _ Parser.nonterminal -> _ Parser.terminal -> boolval xfirst : Parser.xsymbol -> _ Parser.terminal -> boolval foreach_terminal : (Parser.xsymbol -> 'a -> 'a) -> 'a -> 'aval foreach_terminal_but_error : (Parser.xsymbol -> 'a -> 'a) -> 'a -> 'aval feed :
'a Parser.symbol ->
Ocaml_preprocess.MenhirLib.IncrementalEngine.position ->
'a ->
Ocaml_preprocess.MenhirLib.IncrementalEngine.position ->
'b Parser.env ->
'b Parser.env