class NstExpressionDo: public NstExpression

Class NstExpressionDo

Inheritance:


Public Fields

[more]NstExpressionList body
body.

Public Methods

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


Inherited from NstExpression:

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 NstExpressionDo.
o NstExpressionDo(const NstVariable& nvar, const NstExpressionSlice& nr)
Creates a new NstExpressionDo.
Parameters:
nvar - do_id
nr - range

o ~NstExpressionDo()
Recursive destructor.

o NstExpressionDo(const NstExpressionDo& 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_EXPRESSION_DO.

ochar* class_type() const
Returns the string NST_EXPRESSION_DO.

ochar* class_name() const
Returns the string NstExpressionDo.

oNstExpressionList body
body.

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

oNstExpressionDo* clone() const
Recursive cloning.

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

oNstVariable* do_id() const
Returns the do_id (Attribute 0).

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

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

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


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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