class NstStatementForall: public NstStatement

Class NstStatementForall

Inheritance:


Public Fields

[more]NstStatementList body
body.

Public Methods

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


Inherited from NstStatement:

Public Fields

oint label
ostring slabel
oint line_number
oint is_commented
ostring above_comment
ostring below_comment

Public Methods

oint base_type() const
oNstTree* create_default()


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

Class NstStatementForall.
o NstStatementForall(const NstVariableLoop& ne, const NstExpressionSlice& ns, const NstLoopinfo& nli)
Creates a new NstStatementForall.
Parameters:
ne - id
ns - range
nli - info

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

o ~NstStatementForall()
Recursive destructor.

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

oint type() const
The type is NST_STATEMENT_FORALL.

ochar* class_type() const
Returns the string NST_STATEMENT_FORALL.

ochar* class_name() const
Returns the string NstStatementForall.

oNstStatementList body
body.

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

oNstStatementForall* clone() const
Recursive cloning.

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

oNstVariableLoop* id() const
Returns the id (Attribute 0).

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

oNstExpressionSlice* range() const
Returns the range (Attribute 1).

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

oNstLoopinfo* info() const
Returns the info (Attribute 3).

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


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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