class NstDeclarationVarparam: public NstDeclaration

Class NstDeclarationVarparam

Inheritance:


Public Methods

[more] NstDeclarationVarparam(const NstType& ntv, const NstDefinitionVariable& ntd)
Creates a new NstDeclarationVarparam
[more] ~NstDeclarationVarparam()
Recursive destructor.
[more] NstDeclarationVarparam(const NstDeclarationVarparam& o)
Recursive copy constructor
[more]int type() const
The type is NST_DECLARATION_VARPARAM.
[more]char* class_type() const
Returns the string NST_DECLARATION_VARPARAM.
[more]char* class_name() const
Returns the string NstDeclarationVarparam.
[more]void copy(const NstDeclarationVarparam& s)
Recursive copy of s.
[more]NstDeclarationVarparam* clone() const
Recursive cloning.
[more]NstDeclarationVarparam& operator= (const NstDeclarationVarparam& s)
Same as copy.
[more]NstType* formal_type() const
Returns the formal_type (Attribute 0).
[more]NstType* formal_type(const NstType& n)
Replaces the formal_type (Attribute 0).
[more]NstDefinitionVariable* definition() const
Returns the definition (Attribute 1).
[more]NstDefinitionVariable* definition(const NstDefinitionVariable& n)
Replaces the definition (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 NstDeclarationVarparam.
o NstDeclarationVarparam(const NstType& ntv, const NstDefinitionVariable& ntd)
Creates a new NstDeclarationVarparam.
Parameters:
ntv - formal_type
ntd - definition

o ~NstDeclarationVarparam()
Recursive destructor.

o NstDeclarationVarparam(const NstDeclarationVarparam& 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_VARPARAM.

ochar* class_type() const
Returns the string NST_DECLARATION_VARPARAM.

ochar* class_name() const
Returns the string NstDeclarationVarparam.

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

oNstDeclarationVarparam* clone() const
Recursive cloning.

oNstDeclarationVarparam& operator= (const NstDeclarationVarparam& s)
Same as copy.

oNstType* formal_type() const
Returns the formal_type (Attribute 0).

oNstType* formal_type(const NstType& n)
Replaces the formal_type (Attribute 0).

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

oNstDefinitionVariable* definition(const NstDefinitionVariable& n)
Replaces the definition (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++.