class NstOp : public NstTree

Operators

Inheritance:


Public Methods

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

Inherited from NstTree:

Public Fields

unsigned long tree_id
NstUserInfo user_info

Public Methods

virtual NstTree* cut()
NstTree* cut_buffer()
virtual void error(const char* st)
list <NstTree*> fathers()
NstTree* in()
virtual NstTree* init()
virtual NstTree* init(NstTrees::iterator &it)
virtual NstTree* next()
virtual NstTree* next(NstTrees::iterator &it)
friend ostream& operator << (ostream& s, const NstTree& t)
virtual void replace(NstTree& n)
virtual NstDefinition* search(const NstIdentifier& i, int tp = -1)
void traversal(int (*action)(NstTree*, void*), void* extra = NULL)
NstTree* upsearch(int (*comptest)(NstTree*, void*), void* extra = NULL)
virtual void warning(const char* st)
string whoami()

Documentation

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

int type()
The type is NST_OP.

const char* class_type()
Returns the string NST_OP.

const char* class_name()
Returns the string NstOp.

int base_type()
Gives the base type of the object.

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

virtual int priority()
Priority of the operator.

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

NstOp* clone()
Recursive cloning.

NstOp& 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 hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de