cprover
show_goto_functions.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: Show the goto functions
4
5
Author: Peter Schrammel
6
7
\*******************************************************************/
8
11
12
#ifndef CPROVER_GOTO_PROGRAMS_SHOW_GOTO_FUNCTIONS_H
13
#define CPROVER_GOTO_PROGRAMS_SHOW_GOTO_FUNCTIONS_H
14
15
#include <
util/ui_message.h
>
16
17
class
namespacet
;
18
class
goto_modelt
;
19
class
goto_functionst
;
20
21
// clang-format off
22
#define OPT_SHOW_GOTO_FUNCTIONS \
23
"(show-goto-functions)" \
24
"(list-goto-functions)"
25
26
#define HELP_SHOW_GOTO_FUNCTIONS \
27
" --show-goto-functions show loaded goto program\n" \
28
" --list-goto-functions list loaded goto functions\n"
29
// clang-format on
30
31
void
show_goto_functions
(
32
const
namespacet
&ns,
33
message_handlert
&message_handler,
34
ui_message_handlert::uit
ui,
35
const
goto_functionst
&goto_functions,
36
bool
list_only =
false
);
37
38
void
show_goto_functions
(
39
const
goto_modelt
&,
40
message_handlert
&message_handler,
41
ui_message_handlert::uit
ui,
42
bool
list_only =
false
);
43
44
#endif // CPROVER_GOTO_PROGRAMS_SHOW_GOTO_FUNCTIONS_H
goto_modelt
Definition:
goto_model.h:24
ui_message_handlert::uit
uit
Definition:
ui_message.h:22
namespacet
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition:
namespace.h:93
show_goto_functions
void show_goto_functions(const namespacet &ns, message_handlert &message_handler, ui_message_handlert::uit ui, const goto_functionst &goto_functions, bool list_only=false)
Definition:
show_goto_functions.cpp:28
message_handlert
Definition:
message.h:24
goto_functionst
A collection of goto functions.
Definition:
goto_functions.h:22
ui_message.h
goto-programs
show_goto_functions.h
Generated by
1.8.16