class NstDeclarationParameter: public NstDeclaration

Class NstDeclarationParameter

Inheritance:


Public Methods

[more] NstDeclarationParameter(NstDefinitionVariable& ntd, const NstExpression& nexp)
Creates a new NstDeclarationParameter
[more] ~NstDeclarationParameter()
Recursive destructor.
[more] NstDeclarationParameter(const NstDeclarationParameter& o)
Recursive copy constructor
[more]int type() const
The type is NST_DECLARATION_PARAMETER.
[more]char* class_type() const
Returns the string NST_DECLARATION_PARAMETER.
[more]char* class_name() const
Returns the string NstDeclarationParameter.
[more]void copy(const NstDeclarationParameter& s)
Recursive copy of s.
[more]NstDeclarationParameter* clone() const
Recursive cloning.
[more]NstDeclarationParameter& operator= (const NstDeclarationParameter& s)
Same as copy.
[more]NstDefinitionVariable* definition() const
Returns the definition (Attribute 0).
[more]NstDefinitionVariable* definition(NstDefinitionVariable& n)
Replaces the definition (Attribute 0).
[more]NstExpression* expression() const
Returns the expression (Attribute 1).
[more]NstExpression* expression(const NstExpression& n)
Replaces the expression (Attribute 1).


Inherited from NstDeclaration:

Public Fields

oint line_number
ostring above_comment
ostring below_comment

Public Methods

oint base_type() const
oNstTree* create_default()


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()
oNstDefinition* search(const NstIdentifier& i, int tp = -1) const
ovoid replace(NstTree& n)
oNstTree* in() const
o fathers() const
ostring whoami() const


Documentation

Class NstDeclarationParameter.
o NstDeclarationParameter(NstDefinitionVariable& ntd, const NstExpression& nexp)
Creates a new NstDeclarationParameter.
Parameters:
ntd - definition
nexp - expression

o ~NstDeclarationParameter()
Recursive destructor.

o NstDeclarationParameter(const NstDeclarationParameter& 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_DECLARATION_PARAMETER.

ochar* class_type() const
Returns the string NST_DECLARATION_PARAMETER.

ochar* class_name() const
Returns the string NstDeclarationParameter.

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

oNstDeclarationParameter* clone() const
Recursive cloning.

oNstDeclarationParameter& operator= (const NstDeclarationParameter& s)
Same as copy.

oNstDefinitionVariable* definition() const
Returns the definition (Attribute 0).

oNstDefinitionVariable* definition(NstDefinitionVariable& n)
Replaces the definition (Attribute 0).

oNstExpression* expression() const
Returns the expression (Attribute 1).

oNstExpression* expression(const NstExpression& n)
Replaces the expression (Attribute 1).


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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