menhirLib
Runtime support library for parsers generated by Menhir
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library menhirLib
val number : state -> int
type semantic_value = Obj.t
val token2value : token -> semantic_value
val error_terminal : terminal
val error_value : semantic_value
val foreach_terminal : ( terminal -> 'a -> 'a ) -> 'a -> 'a
val production_index : production -> int
val find_production : int -> production
val default_reduction :
state ->
( 'env -> production -> 'answer ) ->
( 'env -> 'answer ) ->
'env ->
'answer
val action :
state ->
terminal ->
semantic_value ->
( 'env -> bool -> terminal -> semantic_value -> state -> 'answer ) ->
( 'env -> production -> 'answer ) ->
( 'env -> 'answer ) ->
'env ->
'answer
val goto_nt : state -> nonterminal -> state
val goto_prod : state -> production -> state
val maybe_goto_nt : state -> nonterminal -> state option
val is_start : production -> bool
type semantic_action =
( state, semantic_value, token ) EngineTypes.env ->
( state, semantic_value ) EngineTypes.stack
val semantic_action : production -> semantic_action
val may_reduce : state -> production -> bool
module Log :
EngineTypes.LOG
with type state := state
and type terminal := terminal
and type production := production