class NstStatementForall : public NstStatement

Class NstStatementForall

Inheritance:


Public Fields

NstStatementList body
body.

Public Methods

const char* class_name()
Returns the string NstStatementForall.
const char* class_type()
Returns the string NST_STATEMENT_FORALL.
NstStatementForall* clone()
Recursive cloning.
void copy(const NstStatementForall& s)
Recursive copy of s.
NstVariableLoop* id(const NstVariableLoop& n)
Replaces the id (Attribute 0).
NstVariableLoop* id()
Returns the id (Attribute 0).
NstLoopinfo* info(const NstLoopinfo& n)
Replaces the info (Attribute 3).
NstLoopinfo* info()
Returns the info (Attribute 3).
NstStatementForall(const NstStatementForall& o)
Recursive copy constructor
NstStatementForall(const NstVariableLoop& ne, const NstExpressionSlice& ns)
Creates a new NstStatementForall
NstStatementForall(const NstVariableLoop& ne, const NstExpressionSlice& ns, const NstLoopinfo& nli)
Creates a new NstStatementForall
NstStatementForall& operator= (const NstStatementForall& s)
Same as copy.
NstExpressionSlice* range(const NstExpressionSlice& n)
Replaces the range (Attribute 1).
NstExpressionSlice* range()
Returns the range (Attribute 1).
int type()
The type is NST_STATEMENT_FORALL.
~NstStatementForall()
Recursive destructor.

Inherited from NstStatement:

Public Fields

string above_comment
string below_comment
int is_commented
int label
int line_number
string slabel

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 NstStatementForall
NstStatementForall(const NstVariableLoop& ne, const NstExpressionSlice& ns, const NstLoopinfo& nli)
Creates a new NstStatementForall
Parameters:
ne - id
ns - range
nli - info

NstStatementForall(const NstVariableLoop& ne, const NstExpressionSlice& ns)
Creates a new NstStatementForall
Parameters:
ne - id
ns - range

~NstStatementForall()
Recursive destructor.

NstStatementForall(const NstStatementForall& 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_STATEMENT_FORALL.

const char* class_type()
Returns the string NST_STATEMENT_FORALL.

const char* class_name()
Returns the string NstStatementForall.

NstStatementList body
body.

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

NstStatementForall* clone()
Recursive cloning.

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

NstVariableLoop* id()
Returns the id (Attribute 0).

NstVariableLoop* id(const NstVariableLoop& n)
Replaces the id (Attribute 0).

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

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

NstLoopinfo* info()
Returns the info (Attribute 3).

NstLoopinfo* info(const NstLoopinfo& n)
Replaces the info (Attribute 3).


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