class NstInstructionCompgoto: public NstInstruction

Class NstInstructionCompgoto

Inheritance:


Public Fields

[more] labels
labels.

Public Methods

[more] NstInstructionCompgoto(const list<int>& nlabels, const NstExpression& ne)
Creates a new NstInstructionCompgoto
[more] ~NstInstructionCompgoto()
Recursive destructor.
[more] NstInstructionCompgoto(const NstInstructionCompgoto& o)
Recursive copy constructor
[more]int type() const
The type is NST_INSTRUCTION_COMPGOTO.
[more]char* class_type() const
Returns the string NST_INSTRUCTION_COMPGOTO.
[more]char* class_name() const
Returns the string NstInstructionCompgoto.
[more]void copy(const NstInstructionCompgoto& s)
Recursive copy of s.
[more]NstInstructionCompgoto* clone() const
Recursive cloning.
[more]NstInstructionCompgoto& operator= (const NstInstructionCompgoto& s)
Same as copy.
[more]NstExpression* goto_expression() const
Returns the goto_expression (Attribute 1).
[more]NstExpression* goto_expression(const NstExpression& n)
Replaces the goto_expression (Attribute 1).


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 NstInstructionCompgoto.
o NstInstructionCompgoto(const list<int>& nlabels, const NstExpression& ne)
Creates a new NstInstructionCompgoto.
Parameters:
nlabels - labels
ne - goto_expression

o ~NstInstructionCompgoto()
Recursive destructor.

o NstInstructionCompgoto(const NstInstructionCompgoto& 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_COMPGOTO.

ochar* class_type() const
Returns the string NST_INSTRUCTION_COMPGOTO.

ochar* class_name() const
Returns the string NstInstructionCompgoto.

o labels
labels.

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

oNstInstructionCompgoto* clone() const
Recursive cloning.

oNstInstructionCompgoto& operator= (const NstInstructionCompgoto& s)
Same as copy.

oNstExpression* goto_expression() const
Returns the goto_expression (Attribute 1).

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