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

This is used to switch namespaces during the expansion phase. More...

#include <body.h>

Inheritance diagram for ActBody_Namespace:
ActBody

Public Member Functions

 ActBody_Namespace (ActNamespace *_ns)
 
void Expand (ActNamespace *, Scope *)
 
ActBodyClone ()
 
ActNamespacegetNS ()
 
- 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

ActNamespacens
 

Additional Inherited Members

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

Detailed Description

This is used to switch namespaces during the expansion phase.

Constructor & Destructor Documentation

◆ ActBody_Namespace()

ActBody_Namespace::ActBody_Namespace ( ActNamespace _ns)
inline
Parameters
_nsis the new namespace to be switched to

Member Function Documentation

◆ Clone()

ActBody * ActBody_Namespace::Clone ( )
virtual
Returns
a deep copy of the body item list

Reimplemented from ActBody.

◆ Expand()

void ActBody_Namespace::Expand ( ActNamespace ,
Scope  
)
virtual

Expand out the current body item, updating the necessary data structures as the expansion process proceeds.

Reimplemented from ActBody.

◆ getNS()

ActNamespace * ActBody_Namespace::getNS ( )
inline

Member Data Documentation

◆ ns

ActNamespace* ActBody_Namespace::ns
private

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