mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:37:45 +00: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:
parent
73fc023652
commit
9d1e27d8a8
2 changed files with 67 additions and 0 deletions
|
@ -490,6 +490,7 @@ public:
|
|||
}
|
||||
|
||||
BinaryOperator type() const { return m_type; }
|
||||
virtual Value evaluate(ExecutionContext&) const override;
|
||||
|
||||
private:
|
||||
BinaryOperator m_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue