Object
class Object
Represents an object.
DEFINITION
class Object;
constructor Object
DEFINITION
| Object | ( | ObjectFile * owner, | |
| const Token & name, | |||
| const std::shared_ptr< StructuredValue > & definition | ); |
| PARAMETER | DESCRIPTION |
|---|---|
owner |
|
name |
|
definition |
constructor Object
DEFINITION
| Object | ( | ObjectFile * owner, | |
| const MemoryMap::Section * section, | |||
| Visibility visibility, | |||
| bool default_only, | |||
| const Token & name | ); |
| PARAMETER | DESCRIPTION |
|---|---|
owner |
|
section |
|
visibility |
|
default_only |
|
name |
method emptyconst
DEFINITION
| bool empty | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
bool |
method evaluate_innervirtual
DEFINITION
| virtual void evaluate_inner | ( | EvaluationContext & context | ); |
| PARAMETER | DESCRIPTION |
|---|---|
context |
method has_addressconst
DEFINITION
| bool has_address | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
bool |
method is_reservationconst
DEFINITION
| bool is_reservation | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
bool |
method less_pointersstatic
DEFINITION
| static bool less_pointers | ( | const Object * a, | |
| const Object * b | ); |
| PARAMETER | DESCRIPTION |
|---|---|
a |
|
b |
| RETURNS | DESCRIPTION |
|---|---|
bool |
method operator<const
DEFINITION
| bool operator< | ( | const Object & other | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
other |
| RETURNS | DESCRIPTION |
|---|---|
bool |
method reservationconst
DEFINITION
| std::optional< uint64_t > reservation | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
std::optional< uint64_t > |
method serializeconst
DEFINITION
| void serialize | ( | std::ostream & stream | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
stream |
method size_rangeconst
DEFINITION
| SizeRange size_range | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
SizeRange |
method uses
DEFINITION
| void uses | ( | Symbol name | ); |
| PARAMETER | DESCRIPTION |
|---|---|
name |
member address
DEFINITION
std::optional< Address > address;
member alignment
DEFINITION
uint64_t alignment;
member body
DEFINITION
Body body;
member explicitly_used_objects
DEFINITION
std::set< Symbol > explicitly_used_objects;
member reservation_expression
DEFINITION
std::optional< Expression > reservation_expression;
member section
DEFINITION
const MemoryMap::Section * section;