Parameter Make.T
val number : T.state -> intval token2terminal : T.token -> T.terminalval token2value : T.token -> T.semantic_valueval error_terminal : T.terminalval error_value : T.semantic_valueval foreach_terminal : (T.terminal -> 'a -> 'a) -> 'a -> 'aval production_index : T.production -> intval find_production : int -> T.productionval default_reduction :
T.state ->
('env -> T.production -> 'answer) ->
('env -> 'answer) ->
'env ->
'answerval action :
T.state ->
T.terminal ->
T.semantic_value ->
('env -> bool -> T.terminal -> T.semantic_value -> T.state -> 'answer) ->
('env -> T.production -> 'answer) ->
('env -> 'answer) ->
'env ->
'answerval maybe_shift_t : T.state -> T.terminal -> T.state optionmaybe_shift_t s t determines whether there exists a transition out of the state s, labeled with the terminal symbol t, to some state s'. If so, it returns Some s'. Otherwise, it returns None.
val may_reduce_prod : T.state -> T.terminal -> T.production -> boolmay_reduce_prod s t prod determines whether in the state s, with lookahead symbol t, the automaton reduces production prod. This test accounts for the possible existence of a default reduction.
val goto_nt : T.state -> T.nonterminal -> T.stateval goto_prod : T.state -> T.production -> T.stateval maybe_goto_nt : T.state -> T.nonterminal -> T.state optionval lhs : T.production -> T.nonterminalval is_start : T.production -> booltype semantic_action =
(T.state, T.semantic_value, T.token)
Ocaml_preprocess.MenhirLib.EngineTypes.env ->
(T.state, T.semantic_value) Ocaml_preprocess.MenhirLib.EngineTypes.stackval semantic_action : T.production -> T.semantic_actionval may_reduce : T.state -> T.production -> boolmodule Log :
Ocaml_preprocess.MenhirLib.EngineTypes.LOG
with type state := T.state
and type terminal := T.terminal
and type production := T.production