package ocaml-compiler

Build not yet checked
  1. Overview
  2. Docs

doc/compiler-libs.common/CamlinternalMenhirLib/EngineTypes/module-type-LOG/index.html

Module type EngineTypes.LOG

A number of logging hooks are used to (optionally) emit logging messages.

type state
type terminal
type production
val state : state -> unit
val shift : terminal -> state -> unit
val reduce_or_accept : production -> unit
val lookahead_token : terminal -> Lexing.position -> Lexing.position -> unit
val initiating_error_handling : unit -> unit
val resuming_error_handling : unit -> unit
val handling_error : state -> unit