class NstExpressionUnary: public NstExpression

Class NstExpressionUnary

Inheritance:


Public Methods

[more] NstExpressionUnary(const NstExpression& nr, const NstOp& nop)
Creates a new NstExpressionUnary
[more] ~NstExpressionUnary()
Recursive destructor.
[more] NstExpressionUnary(const NstExpressionUnary& o)
Recursive copy constructor
[more]int type() const
The type is NST_EXPRESSION_UNARY.
[more]char* class_type() const
Returns the string NST_EXPRESSION_UNARY.
[more]char* class_name() const
Returns the string NstExpressionUnary.
[more]void copy(const NstExpressionUnary& s)
Recursive copy of s.
[more]NstExpressionUnary* clone() const
Recursive cloning.
[more]NstExpressionUnary& operator= (const NstExpressionUnary& s)
Same as copy.
[more]NstExpression* right() const
Returns the right (Attribute 0).
[more]NstExpression* right(const NstExpression& n)
Replaces the right (Attribute 0).
[more]NstOp* operation() const
Returns the operation (Attribute 1).
[more]NstOp* operation(const NstOp& n)
Replaces the operation (Attribute 1).


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 NstExpressionUnary.
o NstExpressionUnary(const NstExpression& nr, const NstOp& nop)
Creates a new NstExpressionUnary.
Parameters:
nr - right
nop - operation

o ~NstExpressionUnary()
Recursive destructor.

o NstExpressionUnary(const NstExpressionUnary& 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_UNARY.

ochar* class_type() const
Returns the string NST_EXPRESSION_UNARY.

ochar* class_name() const
Returns the string NstExpressionUnary.

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

oNstExpressionUnary* clone() const
Recursive cloning.

oNstExpressionUnary& operator= (const NstExpressionUnary& s)
Same as copy.

oNstExpression* right() const
Returns the right (Attribute 0).

oNstExpression* right(const NstExpression& n)
Replaces the right (Attribute 0).

oNstOp* operation() const
Returns the operation (Attribute 1).

oNstOp* operation(const NstOp& n)
Replaces the operation (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++.