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

This is a language body. More...

#include <body.h>

Inheritance diagram for ActBody_Lang:
ActBody

Public Types

enum  langtype {
  LANG_PRS , LANG_CHP , LANG_HSE , LANG_SPEC ,
  LANG_REFINE , LANG_SIZE , LANG_INIT , LANG_DFLOW
}
 

Public Member Functions

 ActBody_Lang (int line, act_prs *p)
 
 ActBody_Lang (int line, act_chp *c, int ishse=0)
 
 ActBody_Lang (int line, act_spec *s)
 
 ActBody_Lang (int line, enum langtype _t, void *l)
 
 ActBody_Lang (int line, act_refine *r)
 
 ActBody_Lang (int line, act_sizing *s)
 
 ActBody_Lang (int line, act_initialize *init)
 
 ActBody_Lang (int line, act_dataflow *dflow)
 
void Expand (ActNamespace *, Scope *)
 
void Print (FILE *fp)
 
ActBodyClone ()
 
void * getlang ()
 
enum langtype gettype ()
 
- 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

enum langtype t
 
void * lang
 

Additional Inherited Members

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

Detailed Description

This is a language body.

Member Enumeration Documentation

◆ langtype

Enumerator
LANG_PRS 
LANG_CHP 
LANG_HSE 
LANG_SPEC 
LANG_REFINE 
LANG_SIZE 
LANG_INIT 
LANG_DFLOW 

Constructor & Destructor Documentation

◆ ActBody_Lang() [1/8]

ActBody_Lang::ActBody_Lang ( int  line,
act_prs p 
)
inline

◆ ActBody_Lang() [2/8]

ActBody_Lang::ActBody_Lang ( int  line,
act_chp c,
int  ishse = 0 
)
inline

◆ ActBody_Lang() [3/8]

ActBody_Lang::ActBody_Lang ( int  line,
act_spec s 
)
inline

◆ ActBody_Lang() [4/8]

ActBody_Lang::ActBody_Lang ( int  line,
enum langtype  _t,
void *  l 
)
inline

◆ ActBody_Lang() [5/8]

ActBody_Lang::ActBody_Lang ( int  line,
act_refine r 
)
inline

◆ ActBody_Lang() [6/8]

ActBody_Lang::ActBody_Lang ( int  line,
act_sizing s 
)
inline

◆ ActBody_Lang() [7/8]

ActBody_Lang::ActBody_Lang ( int  line,
act_initialize init 
)
inline

◆ ActBody_Lang() [8/8]

ActBody_Lang::ActBody_Lang ( int  line,
act_dataflow dflow 
)
inline

Member Function Documentation

◆ Clone()

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

Reimplemented from ActBody.

◆ Expand()

void ActBody_Lang::Expand ( ActNamespace ,
Scope  
)
virtual

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

Reimplemented from ActBody.

◆ getlang()

void * ActBody_Lang::getlang ( )
inline

◆ gettype()

enum langtype ActBody_Lang::gettype ( )
inline

◆ Print()

void ActBody_Lang::Print ( FILE *  )
virtual

Print the body item list to the specified file

Reimplemented from ActBody.

Member Data Documentation

◆ lang

void* ActBody_Lang::lang
private

◆ t

enum langtype ActBody_Lang::t
private

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