Module Parser.MenhirInterpreter
include MenhirLib.IncrementalEngine.INCREMENTAL_ENGINE with type MenhirInterpreter.token = token
type token= tokentype productiontype 'a envtype !'a checkpoint= private|InputNeeded of 'a env|Shifting of 'a env * 'a env * bool|AboutToReduce of 'a env * production|HandlingError of 'a env|Accepted of 'a|Rejected
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 lexer_lexbuf_to_supplier : (Stdlib.Lexing.lexbuf -> token) -> Stdlib.Lexing.lexbuf -> supplierval loop : ?strategy:strategy -> supplier -> 'a checkpoint -> 'aval loop_handle : ('a -> 'answer) -> ('a checkpoint -> 'answer) -> supplier -> 'a checkpoint -> 'answerval loop_handle_undo : ('a -> 'answer) -> ('a checkpoint -> 'a checkpoint -> 'answer) -> supplier -> 'a checkpoint -> 'answerval shifts : 'a checkpoint -> 'a env optionval acceptable : 'a checkpoint -> token -> MenhirLib.IncrementalEngine.position -> bool
val number : 'a lr1state -> intval production_index : production -> intval find_production : int -> production
type element=|Element : 'a lr1state * 'a * MenhirLib.IncrementalEngine.position * MenhirLib.IncrementalEngine.position -> elementtype stack= element MenhirLib.General.stream
val stack : 'a env -> stackval top : 'a env -> element optionval pop_many : int -> 'a env -> 'a env optionval get : int -> 'a env -> element optionval current_state_number : 'a env -> intval equal : 'a env -> 'a env -> boolval positions : 'a env -> MenhirLib.IncrementalEngine.position * MenhirLib.IncrementalEngine.positionval env_has_default_reduction : 'a env -> boolval state_has_default_reduction : 'a lr1state -> boolval pop : 'a env -> 'a env optionval force_reduction : production -> 'a env -> 'a envval input_needed : 'a env -> 'a checkpoint
type _ terminal=|T_error : unit terminal|T_XTRANSFORM : unit terminal|T_WITH : unit terminal|T_WHERE : unit terminal|T_VALIDATE : unit terminal|T_USING : unit terminal|T_UNDERSCORE : unit terminal|T_TYPE : unit terminal|T_TRY : unit terminal|T_TRANSFORM : unit terminal|T_THEN : unit terminal|T_STRING2 : string terminal|T_STRING1 : string terminal|T_STARSTAR : unit terminal|T_STARQMARK : unit terminal|T_STARMINUSMINUS : unit terminal|T_STAR : unit terminal|T_SLASHSLASH : unit terminal|T_SLASHAT : unit terminal|T_SLASH : unit terminal|T_SETMINUS : unit terminal|T_SEMISEMI : unit terminal|T_SEMI : unit terminal|T_SELECT : unit terminal|T_SCHEMA : unit terminal|T_RSB : unit terminal|T_RP : unit terminal|T_RESOLVED_INCLUDE : Cduce_core.Ast.pprog terminal|T_REF : unit terminal|T_RCB : unit terminal|T_QMARKQMARK : unit terminal|T_QMARK : unit terminal|T_POLY : string terminal|T_PLUSQMARK : unit terminal|T_PLUS : unit terminal|T_OR : unit terminal|T_OPEN : unit terminal|T_ON : unit terminal|T_OFF : unit terminal|T_NAMESPACE : unit terminal|T_MOD : unit terminal|T_MINUSMINUSSTAR : unit terminal|T_MINUSMINUS : unit terminal|T_MINUSGT : unit terminal|T_MINUS : unit terminal|T_MATCH : unit terminal|T_MAP : unit terminal|T_LTLT : unit terminal|T_LTEQ : unit terminal|T_LT : unit terminal|T_LSB : unit terminal|T_LP : unit terminal|T_LET : unit terminal|T_LCB : unit terminal|T_INT : string terminal|T_INCLUDE : unit terminal|T_IN : unit terminal|T_IF : unit terminal|T_IDENT : string terminal|T_HASH_UTF8 : unit terminal|T_HASH_PRINT_TYPE : unit terminal|T_HASH_LATIN1 : unit terminal|T_HASH_DUMP_VALUE : unit terminal|T_HASH_DIRECTIVE : string terminal|T_HASH_ASCII : unit terminal|T_GTGT : unit terminal|T_GTEQ : unit terminal|T_GT : unit terminal|T_FUN : unit terminal|T_FROM : unit terminal|T_FLOAT : float terminal|T_EQQMARK : unit terminal|T_EQ : unit terminal|T_EOI : unit terminal|T_ELSE : unit terminal|T_DOTDOT : unit terminal|T_DOT : unit terminal|T_DIV : unit terminal|T_DEBUG : unit terminal|T_COMMA : unit terminal|T_COLON : unit terminal|T_COLEQ : unit terminal|T_COLCOL : unit terminal|T_BQUOTE : unit terminal|T_BARBAR : unit terminal|T_BAR : unit terminal|T_BANGEQ : unit terminal|T_BANG : unit terminal|T_AT : unit terminal|T_ANY_IN_NS : string terminal|T_AND : unit terminal|T_AMPAMP : unit terminal|T_AMP : unit terminaltype _ nonterminal=
include MenhirLib.IncrementalEngine.INSPECTION with type 'a MenhirInterpreter.lr1state := 'a lr1state with type MenhirInterpreter.production := production with type 'a MenhirInterpreter.terminal := 'a terminal with type 'a MenhirInterpreter.nonterminal := 'a nonterminal with type 'a MenhirInterpreter.env := 'a env
type !'a1 symbol=|T : 'a terminal -> 'a symbol|N : 'a0 nonterminal -> 'a0 symboltype xsymbol=|X : 'a symbol -> xsymboltype item= production * int
val compare_terminals : 'a terminal -> 'b terminal -> intval compare_nonterminals : 'a nonterminal -> 'b nonterminal -> intval compare_symbols : xsymbol -> xsymbol -> intval compare_productions : production -> production -> intval compare_items : item -> item -> intval incoming_symbol : 'a lr1state -> 'a symbolval items : 'a lr1state -> item listval lhs : production -> xsymbolval rhs : production -> xsymbol listval nullable : 'a nonterminal -> boolval first : 'a nonterminal -> 'b terminal -> boolval xfirst : xsymbol -> 'a terminal -> boolval foreach_terminal : (xsymbol -> 'a -> 'a) -> 'a -> 'aval foreach_terminal_but_error : (xsymbol -> 'a -> 'a) -> 'a -> 'aval feed : 'a symbol -> MenhirLib.IncrementalEngine.position -> 'a -> MenhirLib.IncrementalEngine.position -> 'b env -> 'b env