package mopsa

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val action_range : action -> Mopsa_utils.Location.range
val action_vars : action -> Ast.Var.var list
val action_line_opt : action -> (string * int) option
val action_line_vars : action -> Ast.Var.var list

Get the variables appearing in the line of an action

val nb_digits : int -> int
val pp_right_align_int : int -> Stdlib.Format.formatter -> int -> unit
val pp_right_align : int -> (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a -> unit
val fix_string_indentation : int -> string -> string
val truncate_string : string -> string
val pp_exec : truncate:bool -> indent:int -> Stdlib.Format.formatter -> Core.All.stmt -> unit
val pp_eval : truncate:bool -> indent:int -> Stdlib.Format.formatter -> Core.All.expr -> unit
val pp_action : ?truncate:bool -> ?indent:int -> Stdlib.Format.formatter -> action -> unit
val pp_action_source_code : 'a -> action -> unit

Print source code of an action

OCaml

Innovation. Community. Security.