mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 14:42:50 +02:00
LibSQL: Implement evaluate() method of BinaryOperatorExpression
Mostly just calls the appropriate methods on the Value objects. Exception are the `Concatenate` (string concat), and the logical `and` and `or` operators which are implemented directly in `BinaryOperatorExpression::evaluate`
This commit is contained in:
committed by
Andreas Kling
parent
73fc023652
commit
9d1e27d8a8
@@ -490,6 +490,7 @@ public:
|
||||
}
|
||||
|
||||
BinaryOperator type() const { return m_type; }
|
||||
virtual Value evaluate(ExecutionContext&) const override;
|
||||
|
||||
private:
|
||||
BinaryOperator m_type;
|
||||
|
||||
Reference in New Issue
Block a user