package archetype

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

Module Archetype.Printer_model_toolsSource

Sourceexception Anomaly of string
Sourcetype error_desc =
  1. | UnsupportedTerm of string
  2. | UnsupportedValue of string
  3. | TODO of string
Sourceval emit_error : error_desc -> 'a
Sourcetype env = {
  1. f : Model.function_node option;
  2. update_preds : (Ident.ident * Model.assignment_operator * Model.mterm) list list;
  3. select_preds : Model.mterm list;
  4. sum_preds : Model.mterm list;
  5. removeif_preds : Model.mterm list;
  6. consts : (Ident.ident * Model.mterm) list;
}
Sourceval mk_env : ?f:Model.function_node -> ?update_preds: (Ident.ident * Model.assignment_operator * Model.mterm) list list -> ?select_preds:Model.mterm list -> ?sum_preds:Model.mterm list -> ?removeif_preds:Model.mterm list -> ?consts:(Ident.ident * Model.mterm) list -> unit -> env
Sourceval compute_env : Model.model -> env
Sourceexception Found
Sourceval is_internal : (Ident.ident * Model.mterm) list -> Model.lident -> bool
Sourceval is_const : env -> Model.lident -> bool
Sourceval get_const_dv : env -> Model.lident -> Model.mterm
Sourceval get_preds_index : Model.mterm list -> Model.mterm -> int
Sourceval get_preds_index_gen : ('a -> 'b -> bool) -> 'a list -> 'b -> int
OCaml

Innovation. Community. Security.