Skip to content
Snippets Groups Projects
Commit 901fd479 authored by Loïc Correnson's avatar Loïc Correnson Committed by Virgile Prevosto
Browse files

[modules] document logic_name api

parent f4c97e82
No related branches found
No related tags found
No related merge requests found
...@@ -1263,9 +1263,9 @@ class cil_printer () = object (self) ...@@ -1263,9 +1263,9 @@ class cil_printer () = object (self)
method builtin_logic_info fmt bli = method builtin_logic_info fmt bli =
fprintf fmt "%a" self#varname bli.bl_name fprintf fmt "%a" self#varname bli.bl_name
method logic_type_info fmt s = fprintf fmt "%a" self#logic_name s.lt_name method logic_type_info fmt s = self#logic_name fmt s.lt_name
method logic_ctor_info fmt ci = fprintf fmt "%a" self#logic_name ci.ctor_name method logic_ctor_info fmt ci = self#logic_name fmt ci.ctor_name
method initinfo fmt io = method initinfo fmt io =
match io.init with match io.init with
......
...@@ -274,8 +274,13 @@ class type extensible_printer_type = object ...@@ -274,8 +274,13 @@ class type extensible_printer_type = object
method builtin_logic_info: Format.formatter -> builtin_logic_info -> unit method builtin_logic_info: Format.formatter -> builtin_logic_info -> unit
method logic_type_info: Format.formatter -> logic_type_info -> unit method logic_type_info: Format.formatter -> logic_type_info -> unit
method logic_ctor_info: Format.formatter -> logic_ctor_info -> unit method logic_ctor_info: Format.formatter -> logic_ctor_info -> unit
method logic_name: Format.formatter -> string -> unit
method logic_var: Format.formatter -> logic_var -> unit method logic_var: Format.formatter -> logic_var -> unit
(** logic names, with full module path if needed (eg. "foo::bar::jazz")
Defaults to [self#varname], with the full name truncated to the currently
opened module, if any. *)
method logic_name: Format.formatter -> string -> unit
method quantifiers: Format.formatter -> quantifiers -> unit method quantifiers: Format.formatter -> quantifiers -> unit
method predicate_node: Format.formatter -> predicate_node -> unit method predicate_node: Format.formatter -> predicate_node -> unit
method predicate: Format.formatter -> predicate -> unit method predicate: Format.formatter -> predicate -> unit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment