Implements unary operation evaluation
This commit is contained in:
@@ -180,6 +180,14 @@ public:
|
||||
BoundExpressionKind GetKind() final{
|
||||
return BoundExpressionKind ::Unary;
|
||||
}
|
||||
|
||||
BoundExpression* GetOperand(){
|
||||
return _operand;
|
||||
}
|
||||
|
||||
BoundUnaryOperation GetOperation(){
|
||||
return _operation;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ enum class BoundBinaryOperation{
|
||||
};
|
||||
|
||||
enum class BoundUnaryOperation{
|
||||
Identity,
|
||||
Negation,
|
||||
LogicalNegation,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user