class NstStatementBasic: public NstStatement

Class NstStatementBasic

Inheritance:


Public Methods

[more] NstStatementBasic(const NstInstruction& ns)
Creates a new NstStatementBasic
[more] ~NstStatementBasic()
Recursive destructor.
[more] NstStatementBasic(const NstStatementBasic& o)
Recursive copy constructor
[more]int type() const
The type is NST_STATEMENT_BASIC.
[more]char* class_type() const
Returns the string NST_STATEMENT_BASIC.
[more]char* class_name() const
Returns the string NstStatementBasic.
[more]void copy(const NstStatementBasic& s)
Recursive copy of s.
[more]NstStatementBasic* clone() const
Recursive cloning.
[more]NstStatementBasic& operator= (const NstStatementBasic& s)
Same as copy.
[more]NstInstruction* instruction() const
Returns the instruction (Attribute 0).
[more]NstInstruction* instruction(const NstInstruction& n)
Replaces the instruction (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 NstStatementBasic.
o NstStatementBasic(const NstInstruction& ns)
Creates a new NstStatementBasic.
Parameters:
ns - instruction

o ~NstStatementBasic()
Recursive destructor.

o NstStatementBasic(const NstStatementBasic& 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_BASIC.

ochar* class_type() const
Returns the string NST_STATEMENT_BASIC.

ochar* class_name() const
Returns the string NstStatementBasic.

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

oNstStatementBasic* clone() const
Recursive cloning.

oNstStatementBasic& operator= (const NstStatementBasic& s)
Same as copy.

oNstInstruction* instruction() const
Returns the instruction (Attribute 0).

oNstInstruction* instruction(const NstInstruction& n)
Replaces the instruction (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++.