RexxInstructionElse Class Reference

#include <ElseInstruction.hpp>

Inheritance diagram for RexxInstructionElse:
[legend]

Public Member Functions

void * operator new (size_t size, void *ptr)
 
void operator delete (void *)
 
void operator delete (void *, void *)
 
 RexxInstructionElse (RexxToken *)
 
 RexxInstructionElse (RESTORETYPE restoreType)
 
void live (size_t)
 
void liveGeneral (int reason)
 
void flatten (RexxEnvelope *)
 
void execute (RexxActivation *, RexxExpressionStack *)
 
void setEndInstruction (RexxInstructionEndIf *)
 
void setParent (RexxInstructionEndIf *)
 
- Public Member Functions inherited from RexxInstructionSet
 RexxInstructionSet ()
 
 RexxInstructionSet (RESTORETYPE restoreType)
 
- Public Member Functions inherited from RexxInstruction
void * operator new (size_t)
 
void * operator new (size_t size, void *objectPtr)
 
void operator delete (void *)
 
void operator delete (void *, void *)
 
 RexxInstruction (RexxClause *clause, int type)
 
 RexxInstruction (RESTORETYPE restoreType)
 
 RexxInstruction ()
 
void live (size_t)
 
void liveGeneral (int reason)
 
void flatten (RexxEnvelope *)
 
const SourceLocationgetLocation ()
 
void setLocation (SourceLocation &l)
 
void setNext (RexxInstruction *next)
 
void setStart (size_t line, size_t off)
 
void setEnd (size_t line, size_t off)
 
void setType (size_t type)
 
size_t getType ()
 
bool isType (size_t type)
 
size_t getLineNumber ()
 
- Public Member Functions inherited from RexxInternalObject
void * operator new (size_t, RexxClass *)
 
void * operator new (size_t, RexxClass *, RexxObject **, size_t, size_t)
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *)
 
void operator delete (void *p, void *ptr)
 
 RexxInternalObject ()
 
 RexxInternalObject (RESTORETYPE restoreType)
 
virtual ~RexxInternalObject ()
 
 operator RexxObject * ()
 
size_t getObjectSize ()
 
void setObjectSize (size_t s)
 
size_t getObjectDataSize ()
 
void * getObjectDataSpace ()
 
void clearObject ()
 
void clearObject (size_t l)
 
void setVirtualFunctions (void *t)
 
void setInitHeader (size_t s, size_t markword)
 
void setInitHeader (size_t markword)
 
void setObjectLive (size_t markword)
 
void setHasReferences ()
 
void setHasNoReferences ()
 
bool hasReferences ()
 
bool hasNoReferences ()
 
void setPrimitive ()
 
void setNonPrimitive ()
 
bool isPrimitive ()
 
bool isNonPrimitive ()
 
void setInRexxPackage ()
 
bool isInRexxPackage ()
 
bool isObjectMarked (size_t markword)
 
void setObjectMark (size_t markword)
 
void clearObjectMark ()
 
bool isObjectLive (size_t mark)
 
bool isObjectDead (size_t mark)
 
bool isOldSpace ()
 
bool isNewSpace ()
 
void setNewSpace ()
 
void setOldSpace ()
 
void makeProxiedObject ()
 
bool isProxyObject ()
 
bool isSubClassOrEnhanced ()
 
bool isBaseClass ()
 
size_t getObjectTypeNumber ()
 
RexxBehaviourgetObjectType ()
 
bool isObjectType (RexxBehaviour *b)
 
bool isObjectType (size_t t)
 
bool isSameType (RexxInternalObject *o)
 
void setBehaviour (RexxBehaviour *b)
 
virtual RexxObjectmakeProxy (RexxEnvelope *)
 
virtual RexxObjectcopy ()
 
virtual RexxObjectevaluate (RexxActivation *, RexxExpressionStack *)
 
virtual RexxObjectgetValue (RexxActivation *)
 
virtual RexxObjectgetValue (RexxVariableDictionary *)
 
virtual RexxObjectgetRealValue (RexxActivation *)
 
virtual RexxObjectgetRealValue (RexxVariableDictionary *)
 
virtual void uninit ()
 
virtual HashCode hash ()
 
virtual HashCode getHashValue ()
 
HashCode identityHash ()
 
virtual bool truthValue (int)
 
virtual bool logicalValue (logical_t &)
 
virtual RexxStringmakeString ()
 
virtual RexxTextmakeText ()
 
virtual void copyIntoTail (RexxCompoundTail *buffer)
 
virtual RexxStringprimitiveMakeString ()
 
virtual RexxTextprimitiveMakeText ()
 
virtual RexxArraymakeArray ()
 
virtual RexxStringstringValue ()
 
virtual RexxTexttextValue ()
 
virtual RexxIntegerintegerValue (size_t)
 
virtual bool numberValue (wholenumber_t &result, size_t precision)
 
virtual bool numberValue (wholenumber_t &result)
 
virtual bool unsignedNumberValue (stringsize_t &result, size_t precision)
 
virtual bool unsignedNumberValue (stringsize_t &result)
 
virtual bool doubleValue (double &result)
 
virtual RexxNumberStringnumberString ()
 
virtual bool isEqual (RexxObject *)
 
virtual bool isInstanceOf (RexxClass *)
 
virtual RexxMethodinstanceMethod (RexxString *)
 
virtual RexxSupplierinstanceMethods (RexxClass *)
 
virtual RexxObjectdynamicTarget (RexxObject **arguments, size_t count, size_t named_count)
 
void hasUninit ()
 
void removedUninit ()
 
void printObject ()
 
RexxObjectclone ()
 
- Public Member Functions inherited from RexxVirtualBase
virtual RexxObjectunflatten (RexxEnvelope *)
 

Public Attributes

RexxInstructionIfparent
 
- Public Attributes inherited from RexxInstruction
uint16_t instructionType
 
uint16_t instructionFlags
 
SourceLocation instructionLocation
 
RexxInstructionnextInstruction
 
- Public Attributes inherited from RexxInternalObject
ObjectHeader header
 
RexxBehaviourbehaviour
 

Additional Inherited Members

- Static Public Member Functions inherited from RexxInternalObject
static size_t getObjectHeaderSize ()
 
- Protected Member Functions inherited from RexxVirtualBase
virtual ~RexxVirtualBase ()
 
virtual void baseVirtual ()
 

Detailed Description

Definition at line 51 of file ElseInstruction.hpp.

Constructor & Destructor Documentation

◆ RexxInstructionElse() [1/2]

RexxInstructionElse::RexxInstructionElse ( RexxToken token)

Definition at line 51 of file ElseInstruction.cpp.

References RexxToken::getLocation(), and RexxInstruction::setLocation().

◆ RexxInstructionElse() [2/2]

RexxInstructionElse::RexxInstructionElse ( RESTORETYPE  restoreType)
inline

Definition at line 59 of file ElseInstruction.hpp.

Member Function Documentation

◆ execute()

void RexxInstructionElse::execute ( RexxActivation context,
RexxExpressionStack stack 
)
virtual

Reimplemented from RexxInstruction.

Definition at line 116 of file ElseInstruction.cpp.

References RexxActivation::indent(), and RexxActivation::traceInstruction().

◆ flatten()

void RexxInstructionElse::flatten ( RexxEnvelope envelope)
virtual

Reimplemented from RexxVirtualBase.

Definition at line 103 of file ElseInstruction.cpp.

References cleanUpFlatten, flatten_reference, and setUpFlatten.

◆ live()

void RexxInstructionElse::live ( size_t  liveMark)
virtual

Reimplemented from RexxVirtualBase.

Definition at line 84 of file ElseInstruction.cpp.

References memory_mark, RexxInstruction::nextInstruction, and parent.

◆ liveGeneral()

void RexxInstructionElse::liveGeneral ( int  reason)
virtual

Reimplemented from RexxVirtualBase.

Definition at line 93 of file ElseInstruction.cpp.

References memory_mark_general, RexxInstruction::nextInstruction, and parent.

◆ operator delete() [1/2]

void RexxInstructionElse::operator delete ( void *  )
inline

Definition at line 55 of file ElseInstruction.hpp.

◆ operator delete() [2/2]

void RexxInstructionElse::operator delete ( void *  ,
void *   
)
inline

Definition at line 56 of file ElseInstruction.hpp.

◆ operator new()

void* RexxInstructionElse::operator new ( size_t  size,
void *  ptr 
)
inline

Definition at line 54 of file ElseInstruction.hpp.

◆ setEndInstruction()

void RexxInstructionElse::setEndInstruction ( RexxInstructionEndIf end_clause)
virtual

Reimplemented from RexxInstructionSet.

Definition at line 73 of file ElseInstruction.cpp.

References parent, and RexxInstructionIf::setEndInstruction().

◆ setParent()

void RexxInstructionElse::setParent ( RexxInstructionEndIf ifthen)

Definition at line 63 of file ElseInstruction.cpp.

References OrefSet, and parent.

Member Data Documentation

◆ parent

RexxInstructionIf* RexxInstructionElse::parent

Definition at line 67 of file ElseInstruction.hpp.

Referenced by live(), liveGeneral(), setEndInstruction(), and setParent().


The documentation for this class was generated from the following files: