condition = $condition; $this->left = $left; $this->right = $right; } /** * Returns the value of this expression. * * @param Context $context symbol table */ public function value(Context $context): mixed { return $this->condition->value($context) ? $this->left->value($context) : $this->right->value($context); } }