class NstDefinitionFunction: public NstDefinition

Class NstDefinitionFunction

Inheritance:


Public Fields

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

Public Methods

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


Inherited from NstDefinition:

Public Fields

oint is_private

Public Methods

oint base_type() const
oNstTree* create_default()
oNstDefinition* in_definition() const
oNstIdentifier* identifier() const
oNstIdentifier* identifier(const NstIdentifier& n)


Inherited from NstTree:

Public Fields

olong tree_id
oNstUserInfo user_info

Public Methods

oNstTree* cut_buffer() const
ovoid error(const char* st) const
ovoid warning(const char* st) const
oostream& operator << (ostream& s, const NstTree& t)
oNstTree* init()
oNstTree* init(NstTrees::iterator &it)
oNstTree* next()
oNstTree* next(NstTrees::iterator &it)
ovoid traversal(int (*action)(NstTree*, void*), void* extra = NULL)
oNstTree* upsearch(int (*comptest)(NstTree*, void*), void* extra = NULL)
oNstTree* cut()
ovoid replace(NstTree& n)
oNstTree* in() const
o fathers() const
ostring whoami() const


Documentation

Class NstDefinitionFunction.
o NstDefinitionFunction(const NstIdentifier& nidf, const int& nkind)
Creates a new NstDefinitionFunction.
Parameters:
nidf - identifier
nkind - kind

o ~NstDefinitionFunction()
Recursive destructor.

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

oint type() const
The type is NST_DEFINITION_FUNCTION.

ochar* class_type() const
Returns the string NST_DEFINITION_FUNCTION.

ochar* class_name() const
Returns the string NstDefinitionFunction.

oNstDefinitionList symbols
symbols.

oint kind
kind.

oint 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.

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

oNstDefinitionFunction* clone() const
Recursive cloning.

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

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


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.