class NstExpressionVariable: public NstExpression

Class NstExpressionVariable

Inheritance:


Public Methods

[more] NstExpressionVariable(const NstVariable& nvar)
Creates a new NstExpressionVariable
[more] ~NstExpressionVariable()
Recursive destructor.
[more] NstExpressionVariable(const NstExpressionVariable& o)
Recursive copy constructor
[more]int type() const
The type is NST_EXPRESSION_VAR.
[more]char* class_type() const
Returns the string NST_EXPRESSION_VAR.
[more]char* class_name() const
Returns the string NstExpressionVariable.
[more]void copy(const NstExpressionVariable& s)
Recursive copy of s.
[more]NstExpressionVariable* clone() const
Recursive cloning.
[more]NstExpressionVariable& operator= (const NstExpressionVariable& s)
Same as copy.
[more]NstVariable* variable() const
Returns the variable (Attribute 0).
[more]NstVariable* variable(const NstVariable& n)
Replaces the variable (Attribute 0).


Inherited from NstExpression:

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 NstExpressionVariable.
o NstExpressionVariable(const NstVariable& nvar)
Creates a new NstExpressionVariable.
Parameters:
nvar - variable

o ~NstExpressionVariable()
Recursive destructor.

o NstExpressionVariable(const NstExpressionVariable& 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_EXPRESSION_VAR.

ochar* class_type() const
Returns the string NST_EXPRESSION_VAR.

ochar* class_name() const
Returns the string NstExpressionVariable.

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

oNstExpressionVariable* clone() const
Recursive cloning.

oNstExpressionVariable& operator= (const NstExpressionVariable& s)
Same as copy.

oNstVariable* variable() const
Returns the variable (Attribute 0).

oNstVariable* variable(const NstVariable& n)
Replaces the variable (Attribute 0).


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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