Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
901fd479
Commit
901fd479
authored
8 months ago
by
Loïc Correnson
Committed by
Virgile Prevosto
7 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[modules] document logic_name api
parent
f4c97e82
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/kernel_services/ast_printing/cil_printer.ml
+2
-2
2 additions, 2 deletions
src/kernel_services/ast_printing/cil_printer.ml
src/kernel_services/ast_printing/printer_api.ml
+6
-1
6 additions, 1 deletion
src/kernel_services/ast_printing/printer_api.ml
with
8 additions
and
3 deletions
src/kernel_services/ast_printing/cil_printer.ml
+
2
−
2
View file @
901fd479
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/kernel_services/ast_printing/printer_api.ml
+
6
−
1
View file @
901fd479
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment