package menhirLib

  1. Overview
  2. Docs

Module type EngineTypes.TABLESource

Sourcetype state
Sourceval number : state -> int
Sourcetype token
Sourcetype terminal
Sourcetype nonterminal
Sourcetype semantic_value
Sourceval token2terminal : token -> terminal
Sourceval token2value : token -> semantic_value
Sourceval error_terminal : terminal
Sourceval error_value : semantic_value
Sourceval foreach_terminal : (terminal -> 'a -> 'a) -> 'a -> 'a
Sourcetype production
Sourceval production_index : production -> int
Sourceval find_production : int -> production
Sourceval default_reduction : state -> ('env -> production -> 'answer) -> ('env -> 'answer) -> 'env -> 'answer
Sourceval action : state -> terminal -> semantic_value -> ('env -> bool -> terminal -> semantic_value -> state -> 'answer) -> ('env -> production -> 'answer) -> ('env -> 'answer) -> 'env -> 'answer
Sourceval goto_nt : state -> nonterminal -> state
Sourceval goto_prod : state -> production -> state
Sourceval maybe_goto_nt : state -> nonterminal -> state option
Sourceval is_start : production -> bool
Sourceexception Error
Sourcetype semantic_action = (state, semantic_value, token) env -> (state, semantic_value) stack
Sourceval semantic_action : production -> semantic_action
Sourceval may_reduce : state -> production -> bool
Sourceval log : bool
Sourcemodule Log : sig ... end