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

This is used to contain a generalized loop in the ACT body. More...

#include <body.h>

Inheritance diagram for ActBody_Genloop:
ActBody

Public Member Functions

 ActBody_Genloop (int line, ActBody_Select_gc *_gc)
 
void Expand (ActNamespace *, Scope *)
 
ActBodyClone ()
 
ActBody_Select_gcgetGC ()
 
- 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

ActBody_Select_gcgc
 

Additional Inherited Members

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

Detailed Description

This is used to contain a generalized loop in the ACT body.

Constructor & Destructor Documentation

◆ ActBody_Genloop()

ActBody_Genloop::ActBody_Genloop ( int  line,
ActBody_Select_gc _gc 
)
inline
Parameters
lineis the line number
_gcis the body of the loop (the list of guarded commands)

Member Function Documentation

◆ Clone()

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

Reimplemented from ActBody.

◆ Expand()

void ActBody_Genloop::Expand ( ActNamespace ,
Scope  
)
virtual

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

Reimplemented from ActBody.

◆ getGC()

ActBody_Select_gc * ActBody_Genloop::getGC ( )
inline

Member Data Documentation

◆ gc

ActBody_Select_gc* ActBody_Genloop::gc
private

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