class NstExpression : public NstTree

Expressions

Inheritance:


Public Methods

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

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

Expressions. This is the base class for representing Fortran expressions like a+b*c.
NstExpression()
Creates an empty expression object.

int type()
The type is NST_EXPRESSION.

const char* class_type()
Returns the string NST_EXPRESSION.

const char* class_name()
Returns the string NstExpression.

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

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

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

NstExpression* clone()
Recursive cloning.

NstExpression& operator= (const NstExpression& s)
Same as copy.


Direct child classes:
NstExpressionVariable
NstExpressionUnary
NstExpressionSlice
NstExpressionDummy
NstExpressionDo
NstExpressionConstant
NstExpressionCall
NstExpressionBinary
NstExpressionArray

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