package mopsa

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Logs.HookSource

Parameters

module Options : OPTIONS

Signature

Hook header

***************

Sourceval name : string

Initialization

******************

Sourceval stack : float Stdlib.Stack.t
Sourceval init : 'a -> unit

Indentation

***************

Sourceval color : int -> string -> string
Sourcetype symbol =
  1. | BEGIN
  2. | END
  3. | MSG
Sourceval symbol_to_string : symbol -> int -> string

Symbol of a new entry

Sourceval is_end_symbol : symbol -> bool
Sourceval tab : int -> string

Tabulation

Sourceval cur_level : unit -> int
Sourceval indent : symbol:symbol -> ('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a

Indent a message by adding tabs at the beginning of each line

Sourceval reach : Mopsa.range -> unit
Sourceval pp_S : Stdlib.Format.formatter -> Mopsa.Core.All.stmt -> unit
Sourceval pp_E : Mopsa.Core.All.semantic -> Stdlib.Format.formatter -> Mopsa.Core.All.expr -> unit
Sourceval pp_route_if_any : Stdlib.Format.formatter -> Mopsa.Core.All.route -> unit
Sourceval get_timing : unit -> float

Events handlers

*******************

Sourceval on_after_exec : Mopsa.Core.All.route -> Mopsa.Core.All.stmt -> ('a, 'b) Mopsa.Core.All.man -> 'c -> ('a, 'd) Mopsa.Core.All.Cases.cases -> unit
Sourceval on_finish : 'a -> 'b -> unit
OCaml

Innovation. Community. Security.