class NstStatementWhile: public NstStatement

Class NstStatementWhile

Inheritance:


Public Fields

[more]NstStatementList body
body.

Public Methods

[more] NstStatementWhile(const NstExpression& ne)
Creates a new NstStatementWhile
[more] ~NstStatementWhile()
Recursive destructor.
[more] NstStatementWhile(const NstStatementWhile& o)
Recursive copy constructor
[more]int type() const
The type is NST_STATEMENT_WHILE.
[more]char* class_type() const
Returns the string NST_STATEMENT_WHILE.
[more]char* class_name() const
Returns the string NstStatementWhile.
[more]void copy(const NstStatementWhile& s)
Recursive copy of s.
[more]NstStatementWhile* clone() const
Recursive cloning.
[more]NstStatementWhile& operator= (const NstStatementWhile& s)
Same as copy.
[more]NstExpression* condition() const
Returns the condition (Attribute 0).
[more]NstExpression* condition(const NstExpression& n)
Replaces the condition (Attribute 0).


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 NstStatementWhile.
o NstStatementWhile(const NstExpression& ne)
Creates a new NstStatementWhile.
Parameters:
ne - condition

o ~NstStatementWhile()
Recursive destructor.

o NstStatementWhile(const NstStatementWhile& 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_WHILE.

ochar* class_type() const
Returns the string NST_STATEMENT_WHILE.

ochar* class_name() const
Returns the string NstStatementWhile.

oNstStatementList body
body.

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

oNstStatementWhile* clone() const
Recursive cloning.

oNstStatementWhile& operator= (const NstStatementWhile& s)
Same as copy.

oNstExpression* condition() const
Returns the condition (Attribute 0).

oNstExpression* condition(const NstExpression& n)
Replaces the condition (Attribute 0).


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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