The base object for Class attributes.
More...
#include <attribute.hh>
Detailed Description
The base object for Class attributes.
Very much like Named, but it is not a Type.
Constructor & Destructor Documentation
type::Attribute::~Attribute |
( |
| ) |
|
|
virtual |
Construct a Attribute.
- Parameters
-
def | attribute's definition site. |
Member Function Documentation
Return attribute's definition site.
References def_.
void type::Attribute::def_set |
( |
const ast::VarDec * |
def | ) |
|
|
inline |
Set the attribute's definition site.
References def_.
std::ostream & type::Attribute::dump |
( |
std::ostream & |
ostr | ) |
const |
|
virtual |
const Type & type::Attribute::type_get |
( |
| ) |
const |
|
inline |
Return the attribute's type.
References def_.
Referenced by dump().
Member Data Documentation
The documentation for this class was generated from the following files: