class NstInstructionCompif : public NstInstruction

Class NstInstructionCompif

Inheritance:


Public Fields

int eq_label
eq_label.
int gt_label
gt_label.
int lt_label
lt_label.

Public Methods

const char* class_name()
Returns the string NstInstructionCompif.
const char* class_type()
Returns the string NST_INSTRUCTION_COMPIF.
NstInstructionCompif* clone()
Recursive cloning.
void copy(const NstInstructionCompif& s)
Recursive copy of s.
NstExpression* if_expression()
Returns the if_expression (Attribute 0).
NstExpression* if_expression(const NstExpression& n)
Replaces the if_expression (Attribute 0).
NstInstructionCompif(const NstExpression& ne, const int& nlt_label, const int& neq_label, const int& ngt_label)
Creates a new NstInstructionCompif
NstInstructionCompif(const NstInstructionCompif& o)
Recursive copy constructor
NstInstructionCompif& operator= (const NstInstructionCompif& s)
Same as copy.
int type()
The type is NST_INSTRUCTION_COMPIF.
~NstInstructionCompif()
Recursive destructor.

Inherited from NstInstruction:

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 NstInstructionCompif
NstInstructionCompif(const NstExpression& ne, const int& nlt_label, const int& neq_label, const int& ngt_label)
Creates a new NstInstructionCompif
Parameters:
ne - if_expression
nlt_label - lt_label
neq_label - eq_label
ngt_label - gt_label

~NstInstructionCompif()
Recursive destructor.

NstInstructionCompif(const NstInstructionCompif& 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_INSTRUCTION_COMPIF.

const char* class_type()
Returns the string NST_INSTRUCTION_COMPIF.

const char* class_name()
Returns the string NstInstructionCompif.

int lt_label
lt_label.

int eq_label
eq_label.

int gt_label
gt_label.

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

NstInstructionCompif* clone()
Recursive cloning.

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

NstExpression* if_expression()
Returns the if_expression (Attribute 0).

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


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