|
| enum | Kind {
VAR_DEF
, FUNC_DEF
, FUNC_DECL
, STRUCT_TYPE_DEF
,
UNION_TYPE_DEF
} |
| |
| enum | StorageClass {
STATIC
, EXTERN
, AUTO
, GLOBAL
,
NONE
} |
| |
|
|
| Symbol (const std::string &name, Kind kind, StorageClass storage_class, const Type *type) |
| |
|
const std::string & | get_name () const |
| |
|
Kind | get_kind () const |
| |
|
StorageClass | get_storage_class () const |
| |
|
const Type * | get_type () const |
| |
|
void | promote_fn_decl_to_def () |
| |
|
void | set_codegen_name (const std::string &codegen_name) |
| |
|
std::string | get_codegen_name () const |
| |
|
void | set_offset (unsigned offset) |
| |
|
unsigned | get_offset () const |
| |
|
| Symbol (SymbolKind kind, const std::string &name, const std::shared_ptr< Type > &type, SymbolTable *symtab, bool is_defined) |
| |
|
void | set_is_defined (bool is_defined) |
| |
|
SymbolKind | get_kind () const |
| |
|
const std::string & | get_name () const |
| |
|
std::shared_ptr< Type > | get_type () const |
| |
|
SymbolTable * | get_symtab () const |
| |
|
bool | is_defined () const |
| |
| void | set_operand (const Operand &op) |
| | Set the Node's Operand. More...
|
| |
| bool | has_operand () const |
| | Check whether this Node has a valid Operand. More...
|
| |
| const Operand | get_operand () const |
| | Get this Node's Operand. More...
|
| |
◆ get_operand()
| const Operand HasOperand::get_operand |
( |
| ) |
const |
|
inlineinherited |
◆ has_operand()
| bool HasOperand::has_operand |
( |
| ) |
const |
|
inlineinherited |
◆ set_operand()
| void HasOperand::set_operand |
( |
const Operand & |
op | ) |
|
|
inlineinherited |
The documentation for this class was generated from the following files: