package lustre-v6

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

Module SocUtilsSource

Time-stamp: <modified the 21/03/2022 (at 11:08) by Erwan Jahier>

Sourceval get_all_methods : Soc.t -> Soc.step_method list

Donne toute les méthodes d'un composant.

Sourceval string_of_type_ref : Data.t -> string

Fonctions de représentation des objets SOC.

Sourceval string_of_soc_key : Soc.key -> string
Sourceval string_of_var : Soc.var -> string
Sourceval string_of_operation : Soc.atomic_operation -> string
Sourceval string_of_gao : Soc.gao -> string
Sourceval string_of_gaos_list : Soc.gao list -> string
Sourceval string_of_filter : Soc.var_expr -> string
Sourceval string_of_method : Soc.t -> Soc.step_method -> string
Sourceval string_interface_of_method : Soc.t -> Soc.step_method -> string
Sourceval string_of_precedence : Soc.precedence -> string
Sourceval string_of_profile : (Soc.var list * Soc.var list) -> string
Sourceval string_interface_of_soc : Soc.t -> string
Sourceval string_of_soc : Soc.t -> string
Sourceval string_of_soc_key_ff : Soc.key -> Format.formatter -> unit
Sourceval string_of_type_ref_ff : Data.t -> Format.formatter -> unit
Sourceval string_of_var_ff : Soc.var -> Format.formatter -> unit
Sourceval string_of_operation_ff : Soc.atomic_operation -> Format.formatter -> unit
Sourceval string_of_filter_ff : Soc.var_expr -> Format.formatter -> unit
Sourceval string_of_gao_ff : Soc.gao -> Format.formatter -> unit
Sourceval string_of_method_ff : Soc.t -> Soc.step_method -> Format.formatter -> unit
Sourceval string_interface_of_method_ff : Soc.t -> Soc.step_method -> Format.formatter -> unit
Sourceval string_of_precedence_ff : (string * string list) -> Format.formatter -> unit
Sourceval string_of_profile_ff : (Soc.var list * Soc.var list) -> Format.formatter -> unit
Sourceval string_interface_of_soc_ff : Soc.t -> Format.formatter -> unit
Sourceval string_of_soc_ff : Soc.t -> Format.formatter -> unit
Sourceval output : bool -> string -> Soc.t list -> unit

output header_flag pack_name dumps the soc list into a file. header_flag states whether or not headers (comment) should be printed

Sourceval find : Lxm.t -> Soc.key -> Soc.tbl -> Soc.t
Sourceval add : Soc.key -> Soc.t -> Soc.tbl -> Soc.tbl
Sourceval find_no_exc : Soc.key -> Soc.tbl -> Soc.t
Sourceval gen_index_list : int -> int list
Sourceval my_string_of_float_precision : int option -> float -> string
Sourceval is_memory_less : Soc.t -> bool
Sourceval ctx_is_global : Soc.t -> bool

should we omit the ctx in arg of the step function? yes in Heap mode when the soc is memory less.

Sourceval filter_step_params : int list -> 'a list -> 'a list

filter_step_params index_list var_list

only keeps the var present in the index list.

For instance, filter_step_params 0;1;4 v1;v2;v3;v4;v5 = v1;v2;v5

nb : we suppose that the index list is in increasing order.

Sourceval get_rank : 'a -> ('a * 'b) list -> int
Sourceval get_top_var : Soc.var_expr -> Soc.var_expr
Sourceval lustre_string_of_var_expr : Soc.var_expr -> string
Sourceval string_of_var_expr : Soc.var_expr -> string
OCaml

Innovation. Community. Security.