ACT Library
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ActBody_Attribute Class Reference

This is used to record attributes associated with an instance name. More...

#include <body.h>

Inheritance diagram for ActBody_Attribute:
ActBody

Public Member Functions

 ActBody_Attribute (int line, const char *_inst, act_attr *_a, Array *_arr=NULL)
 
void Expand (ActNamespace *, Scope *)
 
ActBodyClone ()
 
- Public Member Functions inherited from ActBody
 ActBody (int line)
 
virtual ~ActBody ()
 
void Append (ActBody *b)
 
void insertNext (ActBody *b)
 
ActBodyTail ()
 
ActBodyNext ()
 
virtual ActBodyClone ()
 
virtual void Expand (ActNamespace *, Scope *)
 
void Expandlist (ActNamespace *, Scope *)
 
virtual void Print (FILE *)
 
void updateInstType (list_t *namelist, InstType *it)
 
int getLine ()
 

Private Attributes

const char * inst
 
act_attra
 
Arrayarr
 

Additional Inherited Members

- Protected Attributes inherited from ActBody
int _line
 saved away line number information
 

Detailed Description

This is used to record attributes associated with an instance name.

Constructor & Destructor Documentation

◆ ActBody_Attribute()

ActBody_Attribute::ActBody_Attribute ( int  line,
const char *  _inst,
act_attr _a,
Array _arr = NULL 
)
inline

Create a body item that corresponds to an attribute associated with an instance.

Parameters
lineis the line number
_instis the name of the instance that has the attribute
_ais the attribute associated with the instance
_arris the array for the instance, if any

Member Function Documentation

◆ Clone()

ActBody * ActBody_Attribute::Clone ( )
virtual
Returns
a deep copy of this body item

Reimplemented from ActBody.

◆ Expand()

void ActBody_Attribute::Expand ( ActNamespace ,
Scope  
)
virtual

Expand the body item

Reimplemented from ActBody.

Member Data Documentation

◆ a

act_attr* ActBody_Attribute::a
private

◆ arr

Array* ActBody_Attribute::arr
private

◆ inst

const char* ActBody_Attribute::inst
private

The documentation for this class was generated from the following file: