class NstDefinitionFunction : public NstDefinition

Class NstDefinitionFunction

Inheritance:


Public Fields

int is_pure
This flag tells if the function is PURE, i
int kind
kind.
NstDefinitionList symbols
symbols.

Public Methods

const char* class_name()
Returns the string NstDefinitionFunction.
const char* class_type()
Returns the string NST_DEFINITION_FUNCTION.
NstDefinitionFunction* clone()
Recursive cloning.
void copy(const NstDefinitionFunction& s)
Recursive copy of s.
NstDefinitionFunction(const NstIdentifier& nidf, const int& nkind)
Creates a new NstDefinitionFunction
NstDefinitionFunction(const NstDefinitionFunction& o)
Recursive copy constructor
NstDefinitionFunction& operator= (const NstDefinitionFunction& s)
Same as copy.
NstDefinition* search(const NstIdentifier& i, int tp = -1)
Search an identifier in definition
int type()
The type is NST_DEFINITION_FUNCTION.
~NstDefinitionFunction()
Recursive destructor.

Inherited from NstDefinition:

Public Fields

int is_private

Public Methods

int base_type()
NstTree* create_default()
NstIdentifier* identifier()
NstIdentifier* identifier(const NstIdentifier& n)
NstDefinition* in_definition()

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 NstDefinitionFunction
NstDefinitionFunction(const NstIdentifier& nidf, const int& nkind)
Creates a new NstDefinitionFunction
Parameters:
nidf - identifier
nkind - kind

~NstDefinitionFunction()
Recursive destructor.

NstDefinitionFunction(const NstDefinitionFunction& 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_DEFINITION_FUNCTION.

const char* class_type()
Returns the string NST_DEFINITION_FUNCTION.

const char* class_name()
Returns the string NstDefinitionFunction.

NstDefinitionList symbols
symbols.

int kind
kind.

int is_pure
This flag tells if the function is PURE, i.e. it does not have side effects and it does not modify its arguments.

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

NstDefinitionFunction* clone()
Recursive cloning.

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

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