• en

Module Mpp_actions

module Out = Mpp_out
val debug : bool Pervasives.ref
val ignore_non_existing_commands : bool Pervasives.ref
val main_process : Mpp_charstream.charstream -> Out.t -> unit Pervasives.ref
type action = last_condition -> nesting -> action_args -> Mpp_charstream.charstream -> Out.t -> unit
type action_args = Mpp_charstream.charstream
type nesting = bool
type last_condition = bool option Pervasives.ref
type action_set = (action * documentation) Mpp_stringmap.t
type documentation = string
val actions : action_set Pervasives.ref
val ignore_exec_error : bool Pervasives.ref
val is_lazy : String.t -> bool
val register_lazy : String.t -> unit
type set = string Mpp_stringmap.t
val environment : set
module Mpp_conditions : sig
val elze : bool option Pervasives.ref -> bool -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
end
module Variable : sig
val set : Mpp_charstream.charstream -> Mpp_charstream.charstream -> 'ignored -> unit
val get : Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val tryget : Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val unset : Mpp_charstream.charstream -> Mpp_charstream.charstream -> 'ignored -> unit
val unsetall : 'string -> 'charstream -> Out.t -> unit
val ifdef : bool option Pervasives.ref -> bool -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val ifndef : bool option Pervasives.ref -> bool -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val elzeifdef : bool option Pervasives.ref -> bool -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val elze : bool option Pervasives.ref -> bool -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
end
val last_cmd : int Pervasives.ref
val command : ?temp_dir:string -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> int
val ifcmd : bool option Pervasives.ref -> bool -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val cmd : Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val copy : trunc:bool -> 'a -> 'b -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val apply_builtin : Mpp_stringmap.key -> Mpp_charstream.location -> bool option Pervasives.ref -> bool -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val exec : bool -> bool option Pervasives.ref -> string -> Mpp_charstream.charstream -> Mpp_charstream.charstream -> Out.t -> unit
val list_builtins : Out.t -> unit
val register : string -> action -> documentation -> unit
val builtins : unit