OpenASIP
2.0
|
#include <DataLabel.hh>
Public Member Functions | |
DataLabel (const std::string &name, Address address, const Scope &scope) | |
virtual | ~DataLabel () |
Public Member Functions inherited from TTAProgram::Label | |
virtual | ~Label () |
std::string | name () const |
virtual Address | address () const |
const Scope & | scope () const |
void | setAddress (Address address) |
Additional Inherited Members | |
Protected Member Functions inherited from TTAProgram::Label | |
Label () | |
Label (const std::string &name, Address address, const Scope &scope) | |
void | setName (const std::string &name) |
void | setScope (const Scope &scope) |
A symbol that represents a location in the data area used by the program.
Usually, a data label is the starting address of a program variable.
Definition at line 45 of file DataLabel.hh.
The constructor.
Registers this label to the owning scope.
name | Name of the label. Must be unique within the owning scope. |
address | The address of the location corresponding to this label. |
scope | The innermost scope that contains this label. |
Definition at line 53 of file DataLabel.cc.
|
virtual |