CBMC
|
#include <cpp_id.h>
Public Types | |
enum class | id_classt { UNKNOWN , SYMBOL , TYPEDEF , CLASS , ENUM , TEMPLATE , TEMPLATE_PARAMETER , NAMESPACE , BLOCK_SCOPE , TEMPLATE_SCOPE , ROOT_SCOPE } |
Public Member Functions | |
cpp_idt () | |
bool | is_class () const |
bool | is_enum () const |
bool | is_namespace () const |
bool | is_typedef () const |
bool | is_template_scope () const |
cpp_idt & | get_parent () const |
void | set_parent (cpp_idt &_parent) |
void | clear () |
void | print (std::ostream &out, unsigned indent=0) const |
void | print_fields (std::ostream &out, unsigned indent=0) const |
Public Attributes | |
bool | is_member |
bool | is_method |
bool | is_static_member |
bool | is_scope |
bool | is_constructor |
id_classt | id_class |
irep_idt | identifier |
irep_idt | base_name |
irep_idt | class_identifier |
exprt | this_expr |
std::string | prefix |
std::string | suffix |
unsigned | compound_counter |
Protected Types | |
typedef std::multimap< irep_idt, cpp_idt > | cpp_id_mapt |
typedef std::vector< cpp_idt * > | scope_listt |
Protected Attributes | |
cpp_id_mapt | sub |
scope_listt | using_scopes |
scope_listt | secondary_scopes |
cpp_idt * | parent |
|
protected |
|
protected |
|
strong |
cpp_idt::cpp_idt | ( | ) |
Definition at line 18 of file cpp_id.cpp.
Definition at line 31 of file cpp_id.cpp.
Definition at line 44 of file cpp_id.cpp.
|
protected |
|
protected |
|
protected |