class NstOp: public NstTree

Operators

Inheritance:


Public Methods

[more] NstOp()
Creates an empty object.
[more]int type() const
The type is NST_OP.
[more]char* class_type() const
Returns the string NST_OP.
[more]char* class_name() const
Returns the string NstOp.
[more]int base_type() const
Gives the base type of the object.
[more]NstTree* create_default()
Creates a default object of the base type.
[more]int priority() const
Priority of the operator.
[more]void copy(const NstOp& s)
Recursive copy of s.
[more]NstOp* clone() const
Recursive cloning.
[more]NstOp& operator= (const NstOp& s)
Same as copy.


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

Operators. This class represents fortran operators like +,-,*,/, etc...
o NstOp()
Creates an empty object.

oint type() const
The type is NST_OP.

ochar* class_type() const
Returns the string NST_OP.

ochar* class_name() const
Returns the string NstOp.

oint base_type() const
Gives the base type of the object.

oNstTree* create_default()
Creates a default object of the base type.

oint priority() const
Priority of the operator.

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

oNstOp* clone() const
Recursive cloning.

oNstOp& operator= (const NstOp& s)
Same as copy.


Direct child classes:
NstOpXor
NstOpTimes
NstOpSign
NstOpPsign
NstOpPlus
NstOpOr
NstOpNot
NstOpNeqv
NstOpNe
NstOpMinus
NstOpLt
NstOpLe
NstOpGt
NstOpGe
NstOpExpo
NstOpEqv
NstOpEq
NstOpDivide
NstOpDefined
NstOpConcat
NstOpAssign
NstOpAnd

Alphabetic index HTML hierarchy of classes or Java



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