#include <ExpressionLogical.hpp>
Public Attributes | |
| size_t | expressionCount |
| RexxObject * | expressions [1] |
Public Attributes inherited from RexxInternalObject | |
| ObjectHeader | header |
| RexxBehaviour * | behaviour |
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 () |
Definition at line 50 of file ExpressionLogical.hpp.
| RexxExpressionLogical::RexxExpressionLogical | ( | RexxSource * | source, |
| size_t | count, | ||
| RexxQueue * | list | ||
| ) |
Constructor for a RexxExpressionLogical object.
| source | The source parsing context (used for raising errors) |
| count | The number of expressions in the list. |
| list | The accumulated list of expressions. |
Definition at line 63 of file ExpressionLogical.cpp.
References Error_Invalid_expression_logical_list, expressionCount, expressions, OREF_NULL, OrefSet, RexxQueue::pop(), and RexxSource::syntaxError().
|
inline |
Definition at line 59 of file ExpressionLogical.hpp.
|
virtual |
Evaluate a logical expresion list.
| context | The execution context. |
| stack | The evaluation stack. |
Reimplemented from RexxInternalObject.
Definition at line 137 of file ExpressionLogical.cpp.
References Error_Logical_value_logical_list, RexxInternalObject::evaluate(), expressionCount, expressions, TheFalseObject, TheTrueObject, RexxActivation::traceResult(), and RexxObject::truthValue().
|
virtual |
The flattening routine, used for serializing object trees.
| envelope | The envelope were's flattening into. |
Reimplemented from RexxVirtualBase.
Definition at line 114 of file ExpressionLogical.cpp.
References cleanUpFlatten, expressionCount, flatten_reference, and setUpFlatten.
|
virtual |
The runtime, non-debug live marking routine.
Reimplemented from RexxVirtualBase.
Definition at line 83 of file ExpressionLogical.cpp.
References expressionCount, expressions, and memory_mark.
|
virtual |
The generalized live marking routine used for non-performance critical marking operations.
Reimplemented from RexxVirtualBase.
Definition at line 98 of file ExpressionLogical.cpp.
References expressionCount, expressions, and memory_mark_general.
|
inline |
Definition at line 54 of file ExpressionLogical.hpp.
|
inline |
Definition at line 56 of file ExpressionLogical.hpp.
|
inline |
Definition at line 55 of file ExpressionLogical.hpp.
| void * RexxExpressionLogical::operator new | ( | size_t | size, |
| size_t | count | ||
| ) |
Create a new logical list object.
| size | The size of the class object. |
| count | The count of logical expressions. Used to adjust the allocated size to the requirements. |
Definition at line 177 of file ExpressionLogical.cpp.
References new_object(), and T_LogicalTerm.
|
inline |
Definition at line 52 of file ExpressionLogical.hpp.
| size_t RexxExpressionLogical::expressionCount |
Definition at line 65 of file ExpressionLogical.hpp.
Referenced by evaluate(), flatten(), live(), liveGeneral(), and RexxExpressionLogical().
| RexxObject* RexxExpressionLogical::expressions[1] |
Definition at line 66 of file ExpressionLogical.hpp.
Referenced by evaluate(), live(), liveGeneral(), and RexxExpressionLogical().