class NstInstructionPtrassign: public NstInstruction

Class NstInstructionPtrassign

Inheritance:


Public Methods

[more] NstInstructionPtrassign(const NstVariable& nv, const NstExpression& ne)
Creates a new NstInstructionPtrassign
[more] ~NstInstructionPtrassign()
Recursive destructor.
[more] NstInstructionPtrassign(const NstInstructionPtrassign& o)
Recursive copy constructor
[more]int type() const
The type is NST_INSTRUCTION_PTRASSIGN.
[more]char* class_type() const
Returns the string NST_INSTRUCTION_PTRASSIGN.
[more]char* class_name() const
Returns the string NstInstructionPtrassign.
[more]void copy(const NstInstructionPtrassign& s)
Recursive copy of s.
[more]NstInstructionPtrassign* clone() const
Recursive cloning.
[more]NstInstructionPtrassign& operator= (const NstInstructionPtrassign& s)
Same as copy.
[more]NstVariable* lvalue() const
Returns the lvalue (Attribute 0).
[more]NstVariable* lvalue(const NstVariable& n)
Replaces the lvalue (Attribute 0).
[more]NstExpression* rvalue() const
Returns the rvalue (Attribute 1).
[more]NstExpression* rvalue(const NstExpression& n)
Replaces the rvalue (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 NstInstructionPtrassign.
o NstInstructionPtrassign(const NstVariable& nv, const NstExpression& ne)
Creates a new NstInstructionPtrassign.
Parameters:
nv - lvalue
ne - rvalue

o ~NstInstructionPtrassign()
Recursive destructor.

o NstInstructionPtrassign(const NstInstructionPtrassign& 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_PTRASSIGN.

ochar* class_type() const
Returns the string NST_INSTRUCTION_PTRASSIGN.

ochar* class_name() const
Returns the string NstInstructionPtrassign.

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

oNstInstructionPtrassign* clone() const
Recursive cloning.

oNstInstructionPtrassign& operator= (const NstInstructionPtrassign& s)
Same as copy.

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

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

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

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