class NstInstructionCompif: public NstInstruction

Class NstInstructionCompif

Inheritance:


Public Fields

[more]int lt_label
lt_label.
[more]int eq_label
eq_label.
[more]int gt_label
gt_label.

Public Methods

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


Inherited from NstInstruction:

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 NstInstructionCompif.
o 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

o ~NstInstructionCompif()
Recursive destructor.

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

ochar* class_type() const
Returns the string NST_INSTRUCTION_COMPIF.

ochar* class_name() const
Returns the string NstInstructionCompif.

oint lt_label
lt_label.

oint eq_label
eq_label.

oint gt_label
gt_label.

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

oNstInstructionCompif* clone() const
Recursive cloning.

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

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

oNstExpression* if_expression(const NstExpression& n)
Replaces the if_expression (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++.