#include <expression.h>
Inheritance diagram for celx::UnaryExpression:


Public Types | |
| enum | Operator { Negate = 0, LogicalNot = 1, InvalidOp = 2, OperatorCount = 3 } |
Public Member Functions | |
| virtual Value | eval (ExecutionContext &) |
| UnaryExpression (Operator, Expression *) | |
| virtual | ~UnaryExpression () |
Private Attributes | |
| Expression * | expr |
| const Operator | op |
|
|
Definition at line 67 of file expression.h. 00067 {
00068 Negate = 0,
00069 LogicalNot = 1,
00070 InvalidOp = 2,
00071 OperatorCount = 3,
00072 };
|
|
||||||||||||
|
Definition at line 104 of file expression.cpp.
|
|
|
Definition at line 111 of file expression.cpp. References expr. 00112 {
00113 if (expr != NULL)
00114 delete expr;
00115 }
|
|
|
Implements celx::Expression. Definition at line 117 of file expression.cpp. References celx::Expression::eval(), expr, op, and UnaryOperatorFunctions.
|
|
|
Definition at line 80 of file expression.h. Referenced by eval(), and ~UnaryExpression(). |
|
|
Definition at line 79 of file expression.h. Referenced by eval(). |
1.4.1