28 error() <<
"unique namespace not supported yet" <<
eom;
34 std::string identifier=
37 symbol_table_baset::symbolst::const_iterator it =
45 error() <<
"namespace alias '" <<
final_name <<
"' previously declared\n"
46 <<
"location of previous declaration: " << it->second.location
55 <<
"location of previous declaration: " << it->second.location
73 error() <<
"cpp_typecheckt::convert_namespace: symbol_table.move() failed"
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
symbol_table_baset & symbol_table
cpp_scopet & new_namespace(const irep_idt &new_scope_name)
cpp_scopet & set_scope(const irep_idt &identifier)
cpp_scopet & current_scope()
void add_using_scope(cpp_scopet &other)
void convert(cpp_linkage_spect &)
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
source_locationt source_location
virtual std::pair< symbolt &, bool > insert(symbolt symbol)=0
Move or copy a new symbol to the symbol table.
const symbolst & symbols
Read-only field, used to look up symbols given their names.
The type of an expression, extends irept.
C++ Language Type Checking.
const std::string & id2string(const irep_idt &d)