class NstExpressionDo : public NstExpression

Class NstExpressionDo

Inheritance:


Public Fields

NstExpressionList body
body.

Public Methods

const char* class_name()
Returns the string NstExpressionDo.
const char* class_type()
Returns the string NST_EXPRESSION_DO.
NstExpressionDo* clone()
Recursive cloning.
void copy(const NstExpressionDo& s)
Recursive copy of s.
NstVariable* do_id(const NstVariable& n)
Replaces the do_id (Attribute 0).
NstVariable* do_id()
Returns the do_id (Attribute 0).
NstExpressionDo(const NstExpressionDo& o)
Recursive copy constructor
NstExpressionDo(const NstVariable& nvar, const NstExpressionSlice& nr)
Creates a new NstExpressionDo
NstExpressionDo& operator= (const NstExpressionDo& s)
Same as copy.
NstExpressionSlice* range()
Returns the range (Attribute 1).
NstExpressionSlice* range(const NstExpressionSlice& n)
Replaces the range (Attribute 1).
int type()
The type is NST_EXPRESSION_DO.
~NstExpressionDo()
Recursive destructor.

Inherited from NstExpression:

Public Methods

int base_type()
NstTree* create_default()

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

Class NstExpressionDo
NstExpressionDo(const NstVariable& nvar, const NstExpressionSlice& nr)
Creates a new NstExpressionDo
Parameters:
nvar - do_id
nr - range

~NstExpressionDo()
Recursive destructor.

NstExpressionDo(const NstExpressionDo& o)
Recursive copy constructor. Creates a new object that is a recursive copy of the parameter.
Parameters:
o - object to copy.

int type()
The type is NST_EXPRESSION_DO.

const char* class_type()
Returns the string NST_EXPRESSION_DO.

const char* class_name()
Returns the string NstExpressionDo.

NstExpressionList body
body.

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

NstExpressionDo* clone()
Recursive cloning.

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

NstVariable* do_id()
Returns the do_id (Attribute 0).

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

NstExpressionSlice* range()
Returns the range (Attribute 1).

NstExpressionSlice* range(const NstExpressionSlice& n)
Replaces the range (Attribute 1).


This class has no child classes.

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