#include <SelectInstruction.hpp>
Protected Attributes | |
RexxQueue * | when_list |
RexxInstructionEnd * | end |
RexxInstructionOtherwise * | otherwise |
RexxString * | label |
Additional Inherited Members | |
Static Public Member Functions inherited from RexxInternalObject | |
static size_t | getObjectHeaderSize () |
Public Attributes inherited from RexxInstruction | |
uint16_t | instructionType |
uint16_t | instructionFlags |
SourceLocation | instructionLocation |
RexxInstruction * | nextInstruction |
Public Attributes inherited from RexxInternalObject | |
ObjectHeader | header |
RexxBehaviour * | behaviour |
Protected Member Functions inherited from RexxVirtualBase | |
virtual | ~RexxVirtualBase () |
virtual void | baseVirtual () |
Definition at line 51 of file SelectInstruction.hpp.
RexxInstructionSelect::RexxInstructionSelect | ( | RexxString * | name | ) |
Definition at line 57 of file SelectInstruction.cpp.
References label, new_queue(), OrefSet, and when_list.
|
inline |
Definition at line 59 of file SelectInstruction.hpp.
void RexxInstructionSelect::addWhen | ( | RexxInstructionIf * | when | ) |
Definition at line 255 of file SelectInstruction.cpp.
References RexxQueue::pushRexx(), and when_list.
|
virtual |
Reimplemented from RexxInstruction.
Definition at line 161 of file SelectInstruction.cpp.
References RexxActivation::conditionalPauseInstruction(), RexxActivation::getIndent(), RexxActivation::newDo(), OREF_NULL, terminate(), and RexxActivation::traceInstruction().
|
virtual |
Reimplemented from RexxInstruction.
Definition at line 94 of file SelectInstruction.cpp.
References cleanUpFlatten, flatten_reference, and setUpFlatten.
|
virtual |
Return the associated label.
Reimplemented from RexxBlockInstruction.
Definition at line 117 of file SelectInstruction.cpp.
References label.
Referenced by matchEnd().
|
virtual |
Check for a label match on a block instruction.
name | The target block name. |
Reimplemented from RexxBlockInstruction.
Definition at line 141 of file SelectInstruction.cpp.
References label.
|
virtual |
Tests to see if this is a loop instruction.
Reimplemented from RexxBlockInstruction.
Definition at line 128 of file SelectInstruction.cpp.
|
virtual |
Reimplemented from RexxInstruction.
Definition at line 69 of file SelectInstruction.cpp.
References end, label, memory_mark, RexxInstruction::nextInstruction, otherwise, and when_list.
|
virtual |
Reimplemented from RexxInstruction.
Definition at line 81 of file SelectInstruction.cpp.
References end, label, memory_mark_general, RexxInstruction::nextInstruction, otherwise, and when_list.
|
virtual |
Reimplemented from RexxBlockInstruction.
Definition at line 184 of file SelectInstruction.cpp.
References end, RexxSource::error(), Error_Unexpected_end_select, Error_Unexpected_end_select_nolabel, Error_When_expected_when, RexxInstructionIf::fixWhen(), getLabel(), RexxInstruction::getLineNumber(), RexxInstruction::getLocation(), LABELED_OTHERWISE_BLOCK, RexxInstructionEnd::name, new_array(), new_integer(), OREF_NULL, OrefSet, otherwise, OTHERWISE_BLOCK, RexxQueue::pullRexx(), SELECT_BLOCK, RexxInstructionEnd::setStyle(), TheNilObject, and when_list.
|
inline |
Definition at line 55 of file SelectInstruction.hpp.
|
inline |
Definition at line 56 of file SelectInstruction.hpp.
|
inline |
Definition at line 54 of file SelectInstruction.hpp.
void RexxInstructionSelect::setOtherwise | ( | RexxInstructionOtherwise * | _otherwise | ) |
Definition at line 265 of file SelectInstruction.cpp.
|
virtual |
Reimplemented from RexxBlockInstruction.
Definition at line 147 of file SelectInstruction.cpp.
References end, RexxDoBlock::getIndent(), RexxInstruction::nextInstruction, RexxActivation::setNext(), and RexxActivation::terminateBlock().
Referenced by execute().
|
protected |
Definition at line 76 of file SelectInstruction.hpp.
Referenced by live(), liveGeneral(), matchEnd(), and terminate().
|
protected |
Definition at line 78 of file SelectInstruction.hpp.
Referenced by getLabel(), isLabel(), live(), liveGeneral(), and RexxInstructionSelect().
|
protected |
Definition at line 77 of file SelectInstruction.hpp.
Referenced by live(), liveGeneral(), matchEnd(), and setOtherwise().
|
protected |
Definition at line 75 of file SelectInstruction.hpp.
Referenced by addWhen(), live(), liveGeneral(), matchEnd(), and RexxInstructionSelect().