33 if(symbol.
type.
id()==ID_code)
35 cpp_scopest::id_mapt::iterator id_it =
id_map.find(symbol.
name);
41 id.identifier=symbol.
name;
void print_fields(std::ostream &out, unsigned indent=0) const
unsigned compound_counter
void print_current(std::ostream &out) const
cpp_scopet & new_block_scope()
cpp_scopet * current_scope_ptr
cpp_scopet & current_scope()
cpp_scopet & new_scope(const irep_idt &new_scope_name, cpp_idt::id_classt id_class)
cpp_idt & put_into_scope(const symbolt &symbol, cpp_scopet &scope, bool is_friend=false)
cpp_scopet & get_parent() const
cpp_idt & insert(const irep_idt &_base_name)
bool is_root_scope() const
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
const char * c_str() const
const irep_idt & id() const
irep_idt base_name
Base (non-scoped) name.
typet type
Type of symbol.
irep_idt name
The unique identifier.
C++ Language Type Checking.
const std::string & id2string(const irep_idt &d)
#define PRECONDITION(CONDITION)
std::string to_string(const string_not_contains_constraintt &expr)
Used for debug printing.