<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Ppx_minidebug (ppx_minidebug.Ppx_minidebug)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../odoc.support/odoc.css"/><meta name="generator" content="odoc 2.4.3"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../odoc.support/highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> â€“ <a href="../index.html">ppx_minidebug</a> &#x00BB; Ppx_minidebug</nav><header class="odoc-preamble"><h1>Module <code><span>Ppx_minidebug</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec module anchored" id="module-A"><a href="#module-A" class="anchor"></a><code><span><span class="keyword">module</span> A</span><span> = <span class="xref-unresolved">Ppxlib</span>.Ast_builder.Default</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-log_value"><a href="#type-log_value" class="anchor"></a><code><span><span class="keyword">type</span> log_value</span><span> = </span></code><ol><li id="type-log_value.Sexp" class="def variant constructor anchored"><a href="#type-log_value.Sexp" class="anchor"></a><code><span>| </span><span><span class="constructor">Sexp</span></span></code></li><li id="type-log_value.Show" class="def variant constructor anchored"><a href="#type-log_value.Show" class="anchor"></a><code><span>| </span><span><span class="constructor">Show</span></span></code></li><li id="type-log_value.Pp" class="def variant constructor anchored"><a href="#type-log_value.Pp" class="anchor"></a><code><span>| </span><span><span class="constructor">Pp</span></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-toplevel_opt_arg"><a href="#type-toplevel_opt_arg" class="anchor"></a><code><span><span class="keyword">type</span> toplevel_opt_arg</span><span> = </span></code><ol><li id="type-toplevel_opt_arg.Nested" class="def variant constructor anchored"><a href="#type-toplevel_opt_arg.Nested" class="anchor"></a><code><span>| </span><span><span class="constructor">Nested</span></span></code></li><li id="type-toplevel_opt_arg.Toplevel_no_arg" class="def variant constructor anchored"><a href="#type-toplevel_opt_arg.Toplevel_no_arg" class="anchor"></a><code><span>| </span><span><span class="constructor">Toplevel_no_arg</span></span></code></li><li id="type-toplevel_opt_arg.Runtime_passing" class="def variant constructor anchored"><a href="#type-toplevel_opt_arg.Runtime_passing" class="anchor"></a><code><span>| </span><span><span class="constructor">Runtime_passing</span></span></code></li><li id="type-toplevel_opt_arg.Runtime_local" class="def variant constructor anchored"><a href="#type-toplevel_opt_arg.Runtime_local" class="anchor"></a><code><span>| </span><span><span class="constructor">Runtime_local</span></span></code></li></ol></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_local_debug_runtime"><a href="#val-is_local_debug_runtime" class="anchor"></a><code><span><span class="keyword">val</span> is_local_debug_runtime : <span><a href="#type-toplevel_opt_arg">toplevel_opt_arg</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-global_log_count"><a href="#val-global_log_count" class="anchor"></a><code><span><span class="keyword">val</span> global_log_count : <span>int <span class="xref-unresolved">Stdlib</span>.ref</span></span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-log_level"><a href="#type-log_level" class="anchor"></a><code><span><span class="keyword">type</span> log_level</span><span> = </span></code><ol><li id="type-log_level.Comptime" class="def variant constructor anchored"><a href="#type-log_level.Comptime" class="anchor"></a><code><span>| </span><span><span class="constructor">Comptime</span> <span class="keyword">of</span> int</span></code></li><li id="type-log_level.Runtime" class="def variant constructor anchored"><a href="#type-log_level.Runtime" class="anchor"></a><code><span>| </span><span><span class="constructor">Runtime</span> <span class="keyword">of</span> <span class="xref-unresolved">Ppxlib</span>.expression</span></code></li></ol></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-context"><a href="#type-context" class="anchor"></a><code><span><span class="keyword">type</span> context</span><span> = </span><span>{</span></code><ol><li id="type-context.log_value" class="def record field anchored"><a href="#type-context.log_value" class="anchor"></a><code><span>log_value : <a href="#type-log_value">log_value</a>;</span></code></li><li id="type-context.track_or_explicit" class="def record field anchored"><a href="#type-context.track_or_explicit" class="anchor"></a><code><span>track_or_explicit : <span>[ `Diagn <span>| `Debug</span> <span>| `Track</span> ]</span>;</span></code></li><li id="type-context.output_type_info" class="def record field anchored"><a href="#type-context.output_type_info" class="anchor"></a><code><span>output_type_info : bool;</span></code></li><li id="type-context.interrupts" class="def record field anchored"><a href="#type-context.interrupts" class="anchor"></a><code><span>interrupts : bool;</span></code></li><li id="type-context.log_level" class="def record field anchored"><a href="#type-context.log_level" class="anchor"></a><code><span>log_level : <a href="#type-log_level">log_level</a>;</span></code></li><li id="type-context.entry_log_level" class="def record field anchored"><a href="#type-context.entry_log_level" class="anchor"></a><code><span>entry_log_level : <a href="#type-log_level">log_level</a>;</span></code></li><li id="type-context.hidden" class="def record field anchored"><a href="#type-context.hidden" class="anchor"></a><code><span>hidden : bool;</span></code></li><li id="type-context.toplevel_opt_arg" class="def record field anchored"><a href="#type-context.toplevel_opt_arg" class="anchor"></a><code><span>toplevel_opt_arg : <a href="#type-toplevel_opt_arg">toplevel_opt_arg</a>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-init_context"><a href="#val-init_context" class="anchor"></a><code><span><span class="keyword">val</span> init_context : <span><a href="#type-context">context</a> <span class="xref-unresolved">Stdlib</span>.ref</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-parse_log_level"><a href="#val-parse_log_level" class="anchor"></a><code><span><span class="keyword">val</span> parse_log_level : <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span> <a href="#type-log_level">log_level</a></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-last_ident"><a href="#val-last_ident" class="anchor"></a><code><span><span class="keyword">val</span> last_ident : <span><span class="xref-unresolved">Ppxlib</span>.longident <span class="arrow">&#45;&gt;</span></span> string</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-typ2str"><a href="#val-typ2str" class="anchor"></a><code><span><span class="keyword">val</span> typ2str : <span><span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span> string</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pat2descr"><a href="#val-pat2descr" class="anchor"></a><code><span><span class="keyword">val</span> pat2descr : 
  <span><span class="label">default</span>:<span class="xref-unresolved">Stdlib</span>.String.t <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.pattern <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Stdlib</span>.String.t <span class="xref-unresolved">Ppxlib</span>.loc</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pat2expr"><a href="#val-pat2expr" class="anchor"></a><code><span><span class="keyword">val</span> pat2expr : <span><span class="xref-unresolved">Ppxlib</span>.pattern <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-lift_track_or_explicit"><a href="#val-lift_track_or_explicit" class="anchor"></a><code><span><span class="keyword">val</span> lift_track_or_explicit : 
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span>
  <span><span>[&lt; `Debug <span>| `Diagn</span> <span>| `Track</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-ll_to_expr"><a href="#val-ll_to_expr" class="anchor"></a><code><span><span class="keyword">val</span> ll_to_expr : 
  <span><span class="label">digit_loc</span>:<span class="xref-unresolved">Ppxlib__</span>.Location.t <span class="arrow">&#45;&gt;</span></span>
  <span><a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib__</span>.Import.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-open_log"><a href="#val-open_log" class="anchor"></a><code><span><span class="keyword">val</span> open_log : 
  <span><span class="optlabel">?message</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib__</span>.Import.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span>[&lt; `Debug <span>| `Diagn</span> <span>| `Track</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib__</span>.Import.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-open_log_no_source"><a href="#val-open_log_no_source" class="anchor"></a><code><span><span class="keyword">val</span> open_log_no_source : 
  <span><span class="label">message</span>:<span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span>[&lt; `Debug <span>| `Diagn</span> <span>| `Track</span> ]</span> <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-close_log"><a href="#val-close_log" class="anchor"></a><code><span><span class="keyword">val</span> close_log : <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-to_descr"><a href="#val-to_descr" class="anchor"></a><code><span><span class="keyword">val</span> to_descr : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">descr_loc</span>:<span><span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> option</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-check_comptime_log_level"><a href="#val-check_comptime_log_level" class="anchor"></a><code><span><span class="keyword">val</span> check_comptime_log_level : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_explicit</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_result</span>:<span class="type-var">'a</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span><span>(<span>unit <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression)</span> <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_value_sexp"><a href="#val-log_value_sexp" class="anchor"></a><code><span><span class="keyword">val</span> log_value_sexp : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?descr_loc</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_explicit</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_result</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-splice_lident"><a href="#val-splice_lident" class="anchor"></a><code><span><span class="keyword">val</span> splice_lident : 
  <span><span class="label">id_prefix</span>:<span class="xref-unresolved">Stdlib</span>.String.t <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.longident <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib</span>.longident</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_value_pp"><a href="#val-log_value_pp" class="anchor"></a><code><span><span class="keyword">val</span> log_value_pp : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib__</span>.Import.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?descr_loc</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_explicit</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_result</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_value_show"><a href="#val-log_value_show" class="anchor"></a><code><span><span class="keyword">val</span> log_value_show : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?descr_loc</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_explicit</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_result</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_value"><a href="#val-log_value" class="anchor"></a><code><span><span class="keyword">val</span> log_value : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?descr_loc</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_explicit</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">is_result</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_value_printbox"><a href="#val-log_value_printbox" class="anchor"></a><code><span><span class="keyword">val</span> log_value_printbox : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_string"><a href="#val-log_string" class="anchor"></a><code><span><span class="keyword">val</span> log_string : 
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib__</span>.Import.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">descr_loc</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span>string <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib__</span>.Import.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-log_string_with_descr"><a href="#val-log_string_with_descr" class="anchor"></a><code><span><span class="keyword">val</span> log_string_with_descr : 
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">message</span>:<span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_level</span>:<a href="#type-log_level">log_level</a> <span class="arrow">&#45;&gt;</span></span>
  <span>string <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-fun_arg"><a href="#type-fun_arg" class="anchor"></a><code><span><span class="keyword">type</span> fun_arg</span><span> = </span></code><ol><li id="type-fun_arg.Pexp_fun_arg" class="def variant constructor anchored"><a href="#type-fun_arg.Pexp_fun_arg" class="anchor"></a><code><span>| </span><span><span class="constructor">Pexp_fun_arg</span> <span class="keyword">of</span> <span class="xref-unresolved">Ppxlib</span>.arg_label
  * <span><span class="xref-unresolved">Ppxlib</span>.expression option</span>
  * <span class="xref-unresolved">Ppxlib</span>.pattern
  * <span class="xref-unresolved">Ppxlib</span>.location
  * <span class="xref-unresolved">Ppxlib</span>.location_stack
  * <span class="xref-unresolved">Ppxlib</span>.attributes</span></code></li><li id="type-fun_arg.Pexp_newtype_arg" class="def variant constructor anchored"><a href="#type-fun_arg.Pexp_newtype_arg" class="anchor"></a><code><span>| </span><span><span class="constructor">Pexp_newtype_arg</span> <span class="keyword">of</span> <span><span class="xref-unresolved">Ppxlib</span>.label <span class="xref-unresolved">Ppxlib</span>.loc</span>
  * <span class="xref-unresolved">Ppxlib</span>.location
  * <span class="xref-unresolved">Ppxlib</span>.location_stack
  * <span class="xref-unresolved">Ppxlib</span>.attributes</span></code></li></ol></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-collect_fun"><a href="#val-collect_fun" class="anchor"></a><code><span><span class="keyword">val</span> collect_fun : 
  <span><span><a href="#type-fun_arg">fun_arg</a> list</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span><a href="#type-fun_arg">fun_arg</a> list</span> * <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression * <span><span class="xref-unresolved">Ppxlib_ast</span>.Ast.core_type option</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-expand_fun"><a href="#val-expand_fun" class="anchor"></a><code><span><span class="keyword">val</span> expand_fun : <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span> <span><span><a href="#type-fun_arg">fun_arg</a> list</span> <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib</span>.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pick"><a href="#val-pick" class="anchor"></a><code><span><span class="keyword">val</span> pick : 
  <span><span class="label">typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?alt_typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span>unit <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib</span>.core_type</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-has_unprintable_type"><a href="#val-has_unprintable_type" class="anchor"></a><code><span><span class="keyword">val</span> has_unprintable_type : <span><span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-bound_patterns"><a href="#val-bound_patterns" class="anchor"></a><code><span><span class="keyword">val</span> bound_patterns : 
  <span><span class="label">alt_typ</span>:<span><span class="xref-unresolved">Ppxlib</span>.core_type option</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.pattern <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib__</span>.Import.pattern
  * <span><span>(<span><span class="xref-unresolved">Stdlib</span>.String.t <span class="xref-unresolved">Ppxlib</span>.loc</span> * <span class="xref-unresolved">Ppxlib</span>.pattern * <span class="xref-unresolved">Ppxlib</span>.core_type)</span> list</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-entry_with_interrupts"><a href="#val-entry_with_interrupts" class="anchor"></a><code><span><span class="keyword">val</span> entry_with_interrupts : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib__</span>.Import.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?descr_loc</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?message</span>:<span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_count_before</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?header</span>:<span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">preamble</span>:<span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">entry</span>:<span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">result</span>:<span class="xref-unresolved">Ppxlib_ast</span>.Ast.pattern <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_result</span>:<span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span>
  <span>unit <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-debug_body"><a href="#val-debug_body" class="anchor"></a><code><span><span class="keyword">val</span> debug_body : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span>(<span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression)</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib__</span>.Import.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">message</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">descr_loc</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">log_count_before</span>:int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">arg_logs</span>:<span><span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression list</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span><span class="xref-unresolved">Ppxlib</span>.core_type option</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-collect_fun_typs"><a href="#val-collect_fun_typs" class="anchor"></a><code><span><span class="keyword">val</span> collect_fun_typs : 
  <span><span><span class="xref-unresolved">Ppxlib</span>.core_type list</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.core_type list</span> * <span class="xref-unresolved">Ppxlib</span>.core_type</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pass_runtime"><a href="#val-pass_runtime" class="anchor"></a><code><span><span class="keyword">val</span> pass_runtime : 
  <span><span class="optlabel">?always</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span><a href="#type-toplevel_opt_arg">toplevel_opt_arg</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-unpack_runtime"><a href="#val-unpack_runtime" class="anchor"></a><code><span><span class="keyword">val</span> unpack_runtime : <span><a href="#type-toplevel_opt_arg">toplevel_opt_arg</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib</span>.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-has_runtime_arg"><a href="#val-has_runtime_arg" class="anchor"></a><code><span><span class="keyword">val</span> has_runtime_arg : <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-loc_to_name"><a href="#val-loc_to_name" class="anchor"></a><code><span><span class="keyword">val</span> loc_to_name : <span><span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span> string</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-is_comptime_nothing"><a href="#val-is_comptime_nothing" class="anchor"></a><code><span><span class="keyword">val</span> is_comptime_nothing : <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-debug_fun"><a href="#val-debug_fun" class="anchor"></a><code><span><span class="keyword">val</span> debug_fun : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span>(<span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression)</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?ret_descr</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?ret_typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-debug_case"><a href="#val-debug_case" class="anchor"></a><code><span><span class="keyword">val</span> debug_case : 
  <span><span class="optlabel">?unpack_context</span>:<a href="#type-toplevel_opt_arg">toplevel_opt_arg</a> <span class="arrow">&#45;&gt;</span></span>
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span>(<span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression)</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?ret_descr</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?ret_typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?arg_typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span>string <span class="arrow">&#45;&gt;</span></span>
  <span>int <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.case <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib</span>.case</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-debug_function"><a href="#val-debug_function" class="anchor"></a><code><span><span class="keyword">val</span> debug_function : 
  <span><span class="optlabel">?unpack_context</span>:<a href="#type-toplevel_opt_arg">toplevel_opt_arg</a> <span class="arrow">&#45;&gt;</span></span>
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span>(<span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression)</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib__</span>.Import.location <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?ret_descr</span>:<span>string <span class="xref-unresolved">Ppxlib</span>.loc</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?ret_typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="optlabel">?arg_typ</span>:<span class="xref-unresolved">Ppxlib</span>.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span><span class="xref-unresolved">Ppxlib</span>.case list</span> <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib__</span>.Import.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-debug_binding"><a href="#val-debug_binding" class="anchor"></a><code><span><span class="keyword">val</span> debug_binding : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span>(<span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib_ast</span>.Ast.expression)</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.value_binding <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib</span>.value_binding</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-extract_type"><a href="#val-extract_type" class="anchor"></a><code><span><span class="keyword">val</span> extract_type : 
  <span><span class="optlabel">?default</span>:<span class="xref-unresolved">Ppxlib_ast</span>.Ast.core_type <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">alt_typ</span>:<span><span class="xref-unresolved">Ppxlib</span>.core_type option</span> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib__</span>.Import.core_type</span></code></div></div><div class="odoc-spec"><div class="spec type anchored" id="type-rule"><a href="#type-rule" class="anchor"></a><code><span><span class="keyword">type</span> rule</span><span> = </span><span>{</span></code><ol><li id="type-rule.ext_point" class="def record field anchored"><a href="#type-rule.ext_point" class="anchor"></a><code><span>ext_point : string;</span></code></li><li id="type-rule.track_or_explicit" class="def record field anchored"><a href="#type-rule.track_or_explicit" class="anchor"></a><code><span>track_or_explicit : <span>[ `Diagn <span>| `Debug</span> <span>| `Track</span> ]</span>;</span></code></li><li id="type-rule.toplevel_opt_arg" class="def record field anchored"><a href="#type-rule.toplevel_opt_arg" class="anchor"></a><code><span>toplevel_opt_arg : <a href="#type-toplevel_opt_arg">toplevel_opt_arg</a>;</span></code></li><li id="type-rule.expander" class="def record field anchored"><a href="#type-rule.expander" class="anchor"></a><code><span>expander : <span>[ `Debug <span>| `Str</span> ]</span>;</span></code></li><li id="type-rule.log_value" class="def record field anchored"><a href="#type-rule.log_value" class="anchor"></a><code><span>log_value : <a href="#type-log_value">log_value</a>;</span></code></li><li id="type-rule.entry_log_level" class="def record field anchored"><a href="#type-rule.entry_log_level" class="anchor"></a><code><span>entry_log_level : <span><a href="#type-log_level">log_level</a> option</span>;</span></code></li></ol><code><span>}</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-entry_rules"><a href="#val-entry_rules" class="anchor"></a><code><span><span class="keyword">val</span> entry_rules : <span><span>(string, <a href="#type-rule">rule</a>)</span> <span class="xref-unresolved">Stdlib</span>.Hashtbl.t</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-with_opt_digit"><a href="#val-with_opt_digit" class="anchor"></a><code><span><span class="keyword">val</span> with_opt_digit : <span><span class="label">prefix</span>:string <span class="arrow">&#45;&gt;</span></span> <span><span class="label">suffix</span>:string <span class="arrow">&#45;&gt;</span></span> <span>string <span class="arrow">&#45;&gt;</span></span> bool</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-get_opt_digit"><a href="#val-get_opt_digit" class="anchor"></a><code><span><span class="keyword">val</span> get_opt_digit : 
  <span><span class="label">prefix</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">suffix</span>:string <span class="arrow">&#45;&gt;</span></span>
  <span>string <span class="arrow">&#45;&gt;</span></span>
  <span><a href="#type-log_level">log_level</a> option</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-traverse_expression"><a href="#val-traverse_expression" class="anchor"></a><code><span><span class="keyword">val</span> traverse_expression : <span><a href="#type-context">context</a> <span class="xref-unresolved">Ppxlib</span>.Ast_traverse.map_with_context</span></span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-debug_expander"><a href="#val-debug_expander" class="anchor"></a><code><span><span class="keyword">val</span> debug_expander : <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span> <span><span class="xref-unresolved">Ppxlib</span>.expression <span class="arrow">&#45;&gt;</span></span> <span class="xref-unresolved">Ppxlib</span>.expression</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-str_expander"><a href="#val-str_expander" class="anchor"></a><code><span><span class="keyword">val</span> str_expander : 
  <span><a href="#type-context">context</a> <span class="arrow">&#45;&gt;</span></span>
  <span><span class="label">loc</span>:<span class="xref-unresolved">Ppxlib</span>.location <span class="arrow">&#45;&gt;</span></span>
  <span><span><span class="xref-unresolved">Ppxlib</span>.structure_item list</span> <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib</span>.structure_item</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-global_output_type_info"><a href="#val-global_output_type_info" class="anchor"></a><code><span><span class="keyword">val</span> global_output_type_info : <span class="xref-unresolved">Ppxlib</span>.Context_free.Rule.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-global_interrupts"><a href="#val-global_interrupts" class="anchor"></a><code><span><span class="keyword">val</span> global_interrupts : <span class="xref-unresolved">Ppxlib</span>.Context_free.Rule.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-global_log_level"><a href="#val-global_log_level" class="anchor"></a><code><span><span class="keyword">val</span> global_log_level : <span class="xref-unresolved">Ppxlib</span>.Context_free.Rule.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-global_log_level_from_env_var"><a href="#val-global_log_level_from_env_var" class="anchor"></a><code><span><span class="keyword">val</span> global_log_level_from_env_var : 
  <span><span class="label">check_consistency</span>:bool <span class="arrow">&#45;&gt;</span></span>
  <span class="xref-unresolved">Ppxlib</span>.Context_free.Rule.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-noop_for_testing"><a href="#val-noop_for_testing" class="anchor"></a><code><span><span class="keyword">val</span> noop_for_testing : <span class="xref-unresolved">Ppxlib</span>.Context_free.Rule.t</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-rules"><a href="#val-rules" class="anchor"></a><code><span><span class="keyword">val</span> rules : <span><span class="xref-unresolved">Ppxlib</span>.Context_free.Rule.t list</span></span></code></div></div></div></body></html>
