|
cprover
|
Find module symbol using name. More...
#include "get_module.h"#include <list>#include <set>#include "message.h"#include "symbol_table.h"Go to the source code of this file.
Macros | |
| #define | forall_symbolptr_list(it, list) |
| #define | Forall_symbolptr_list(it, list) |
Typedefs | |
| typedef std::list< const symbolt * > | symbolptr_listt |
Functions | |
| const symbolt & | get_module_by_name (const symbol_tablet &symbol_table, const std::string &module, message_handlert &message_handler) |
| const symbolt & | get_module (const symbol_tablet &symbol_table, const std::string &module, message_handlert &message_handler) |
Find module symbol using name.
Definition in file get_module.cpp.
| #define forall_symbolptr_list | ( | it, | |
| list | |||
| ) |
Definition at line 22 of file get_module.cpp.
Referenced by get_module(), and get_module_by_name().
| #define Forall_symbolptr_list | ( | it, | |
| list | |||
| ) |
Definition at line 26 of file get_module.cpp.
| typedef std::list<const symbolt *> symbolptr_listt |
Definition at line 20 of file get_module.cpp.
| const symbolt& get_module | ( | const symbol_tablet & | symbol_table, |
| const std::string & | module, | ||
| message_handlert & | message_handler | ||
| ) |
Definition at line 75 of file get_module.cpp.
References symbolt::base_name, messaget::eom(), messaget::error(), forall_symbolptr_list, forall_symbols, get_module_by_name(), irept::id(), id2string(), symbolt::pretty_name, messaget::status(), symbol_tablet::symbols, and symbolt::type.
| const symbolt& get_module_by_name | ( | const symbol_tablet & | symbol_table, |
| const std::string & | module, | ||
| message_handlert & | message_handler | ||
| ) |
Definition at line 30 of file get_module.cpp.
References messaget::eom(), messaget::error(), forall_symbol_base_map, forall_symbolptr_list, irept::id(), symbolt::is_type, symbol_tablet::symbol_base_map, symbol_tablet::symbols, and symbolt::type.
Referenced by get_module().