class NstUnitModuleprocedure : public NstUnit

Class NstUnitModuleprocedure

Inheritance:


Public Methods

const char* class_name()
Returns the string NstUnitModuleprocedure.
const char* class_type()
Returns the string NST_UNIT_MODULEPROCEDURE.
NstUnitModuleprocedure* clone()
Recursive cloning.
void copy(const NstUnitModuleprocedure& s)
Recursive copy of s.
NstDefinitionModuleprocedure* definition(const NstDefinitionModuleprocedure& n)
Replaces the definition (Attribute 0).
NstDefinitionModuleprocedure* definition()
Returns the definition (Attribute 0).
NstUnitModuleprocedure(const NstUnitModuleprocedure& o)
Recursive copy constructor
NstUnitModuleprocedure(const NstDefinitionModuleprocedure& ndef)
Creates a new NstUnitModuleprocedure
NstUnitModuleprocedure& operator= (const NstUnitModuleprocedure& s)
Same as copy.
NstDefinition* search(const NstIdentifier& i, int tp = -1)
Search an identifier in definition
int type()
The type is NST_UNIT_MODULEPROCEDURE.
~NstUnitModuleprocedure()
Recursive destructor.

Inherited from NstUnit:

Public Fields

string above_comment
string below_comment
int line_number

Public Methods

int base_type()
NstTree* create_default()
virtual string unit_name()

Inherited from NstTree:

Public Fields

unsigned long tree_id
NstUserInfo user_info

Public Methods

virtual NstTree* cut()
NstTree* cut_buffer()
virtual void error(const char* st)
list <NstTree*> fathers()
NstTree* in()
virtual NstTree* init()
virtual NstTree* init(NstTrees::iterator &it)
virtual NstTree* next()
virtual NstTree* next(NstTrees::iterator &it)
friend ostream& operator << (ostream& s, const NstTree& t)
virtual void replace(NstTree& n)
void traversal(int (*action)(NstTree*, void*), void* extra = NULL)
NstTree* upsearch(int (*comptest)(NstTree*, void*), void* extra = NULL)
virtual void warning(const char* st)
string whoami()

Documentation

Class NstUnitModuleprocedure
NstUnitModuleprocedure(const NstDefinitionModuleprocedure& ndef)
Creates a new NstUnitModuleprocedure
Parameters:
ndef - definition

~NstUnitModuleprocedure()
Recursive destructor.

NstUnitModuleprocedure(const NstUnitModuleprocedure& o)
Recursive copy constructor. Creates a new object that is a recursive copy of the parameter.
Parameters:
o - object to copy.

int type()
The type is NST_UNIT_MODULEPROCEDURE.

const char* class_type()
Returns the string NST_UNIT_MODULEPROCEDURE.

const char* class_name()
Returns the string NstUnitModuleprocedure.

void copy(const NstUnitModuleprocedure& s)
Recursive copy of s.

NstUnitModuleprocedure* clone()
Recursive cloning.

NstUnitModuleprocedure& operator= (const NstUnitModuleprocedure& s)
Same as copy.

NstDefinitionModuleprocedure* definition()
Returns the definition (Attribute 0).

NstDefinitionModuleprocedure* definition(const NstDefinitionModuleprocedure& n)
Replaces the definition (Attribute 0).

NstDefinition* search(const NstIdentifier& i, int tp = -1)
Search an identifier in definition. Useful if definition has a symbol table.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de