cprover
|
Show the symbol table. More...
#include "show_symbol_table.h"
#include <iostream>
#include <memory>
#include <langapi/language.h>
#include <langapi/mode.h>
#include "goto_model.h"
Go to the source code of this file.
Functions | |
void | show_symbol_table_xml_ui () |
void | show_symbol_table_brief_plain (const symbol_tablet &symbol_table, std::ostream &out) |
void | show_symbol_table_plain (const symbol_tablet &symbol_table, std::ostream &out) |
void | show_symbol_table (const symbol_tablet &symbol_table, ui_message_handlert::uit ui) |
void | show_symbol_table (const goto_modelt &goto_model, ui_message_handlert::uit ui) |
void | show_symbol_table_brief (const symbol_tablet &symbol_table, ui_message_handlert::uit ui) |
void | show_symbol_table_brief (const goto_modelt &goto_model, ui_message_handlert::uit ui) |
Show the symbol table.
Definition in file show_symbol_table.cpp.
void show_symbol_table | ( | const symbol_tablet & | symbol_table, |
ui_message_handlert::uit | ui | ||
) |
Definition at line 155 of file show_symbol_table.cpp.
References ui_message_handlert::PLAIN, show_symbol_table_plain(), show_symbol_table_xml_ui(), and ui_message_handlert::XML_UI.
Referenced by goto_instrument_parse_optionst::doit(), janalyzer_parse_optionst::doit(), goto_analyzer_parse_optionst::doit(), cbmc_parse_optionst::get_goto_program(), jbmc_parse_optionst::get_goto_program(), jbmc_parse_optionst::show_loaded_functions(), and show_symbol_table().
void show_symbol_table | ( | const goto_modelt & | goto_model, |
ui_message_handlert::uit | ui | ||
) |
Definition at line 174 of file show_symbol_table.cpp.
References show_symbol_table(), and goto_modelt::symbol_table.
void show_symbol_table_brief | ( | const symbol_tablet & | symbol_table, |
ui_message_handlert::uit | ui | ||
) |
Definition at line 181 of file show_symbol_table.cpp.
References ui_message_handlert::PLAIN, show_symbol_table_brief_plain(), show_symbol_table_xml_ui(), and ui_message_handlert::XML_UI.
Referenced by goto_instrument_parse_optionst::doit(), and show_symbol_table_brief().
void show_symbol_table_brief | ( | const goto_modelt & | goto_model, |
ui_message_handlert::uit | ui | ||
) |
Definition at line 200 of file show_symbol_table.cpp.
References show_symbol_table_brief(), and goto_modelt::symbol_table.
void show_symbol_table_brief_plain | ( | const symbol_tablet & | symbol_table, |
std::ostream & | out | ||
) |
Definition at line 26 of file show_symbol_table.cpp.
References languaget::from_type(), get_default_language(), get_language_from_mode(), id2string(), irept::is_not_nil(), namespacet::lookup(), symbolt::mode, symbolt::name, symbol_table_baset::symbols, and symbolt::type.
Referenced by show_symbol_table_brief().
void show_symbol_table_plain | ( | const symbol_tablet & | symbol_table, |
std::ostream & | out | ||
) |
Definition at line 64 of file show_symbol_table.cpp.
References symbolt::base_name, languaget::from_expr(), languaget::from_type(), get_default_language(), get_language_from_mode(), id2string(), symbolt::is_auxiliary, symbolt::is_exported, symbolt::is_extern, symbolt::is_file_local, symbolt::is_input, symbolt::is_lvalue, symbolt::is_macro, irept::is_not_nil(), symbolt::is_output, symbolt::is_parameter, symbolt::is_property, symbolt::is_state_var, symbolt::is_static_lifetime, symbolt::is_thread_local, symbolt::is_type, symbolt::is_volatile, symbolt::is_weak, symbolt::location, namespacet::lookup(), symbolt::mode, symbolt::module, symbolt::name, symbolt::pretty_name, symbol_table_baset::symbols, symbolt::type, and symbolt::value.
Referenced by show_symbol_table().
void show_symbol_table_xml_ui | ( | ) |
Definition at line 22 of file show_symbol_table.cpp.
Referenced by show_symbol_table(), and show_symbol_table_brief().