|
cprover
|
A goto function, consisting of function body (see body) and parameter identifiers (see parameter_identifiers). More...
#include <goto_function.h>
Public Types | |
| typedef std::vector< irep_idt > | parameter_identifierst |
Public Member Functions | |
| bool | body_available () const |
| void | set_parameter_identifiers (const code_typet &code_type) |
| bool | is_hidden () const |
| void | make_hidden () |
| goto_functiont () | |
| void | clear () |
| void | swap (goto_functiont &other) |
| void | copy_from (const goto_functiont &other) |
| goto_functiont (const goto_functiont &)=delete | |
| goto_functiont & | operator= (const goto_functiont &)=delete |
| goto_functiont (goto_functiont &&other) | |
| goto_functiont & | operator= (goto_functiont &&other) |
| void | validate (const namespacet &ns, const validation_modet vm) const |
| Check that the goto function is well-formed. | |
Public Attributes | |
| goto_programt | body |
| parameter_identifierst | parameter_identifiers |
| The identifiers of the parameters of this function. | |
Protected Attributes | |
| bool | function_is_hidden |
A goto function, consisting of function body (see body) and parameter identifiers (see parameter_identifiers).
Definition at line 23 of file goto_function.h.
| typedef std::vector<irep_idt> goto_functiont::parameter_identifierst |
Definition at line 28 of file goto_function.h.
|
inline |
Definition at line 58 of file goto_function.h.
|
delete |
|
inline |
Definition at line 86 of file goto_function.h.
|
inline |
Definition at line 35 of file goto_function.h.
|
inline |
Definition at line 62 of file goto_function.h.
|
inline |
Definition at line 76 of file goto_function.h.
|
inline |
Definition at line 48 of file goto_function.h.
|
inline |
Definition at line 53 of file goto_function.h.
|
delete |
|
inline |
Definition at line 93 of file goto_function.h.
|
inline |
Definition at line 40 of file goto_function.h.
|
inline |
Definition at line 69 of file goto_function.h.
| void goto_functiont::validate | ( | const namespacet & | ns, |
| const validation_modet | vm ) const |
Check that the goto function is well-formed.
The validation mode indicates whether well-formedness check failures are reported via DATA_INVARIANT violations or exceptions.
Definition at line 39 of file goto_function.cpp.
| goto_programt goto_functiont::body |
Definition at line 26 of file goto_function.h.
|
protected |
Definition at line 108 of file goto_function.h.
| parameter_identifierst goto_functiont::parameter_identifiers |
The identifiers of the parameters of this function.
Note: This is now the preferred way of getting the identifiers of the parameters. The identifiers in the type will go away.
Definition at line 33 of file goto_function.h.