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:
Jan de Visser
2021-10-21 18:10:25 -04:00
committed by Andreas Kling
parent 73fc023652
commit 9d1e27d8a8
Notes: sideshowbarker 2024-07-18 01:54:17 +09:00
2 changed files with 67 additions and 0 deletions

View File

@@ -490,6 +490,7 @@ public:
}
BinaryOperator type() const { return m_type; }
virtual Value evaluate(ExecutionContext&) const override;
private:
BinaryOperator m_type;