Lines Matching refs:left
801 protected function eq($left, $right) argument
803 return $left == $right;
1454 [, $op, $left, $right, $whiteBefore, $whiteAfter] = $exp;
1456 $left = $this->reduce($left, true);
1459 if ($leftColor = Color::coerceColor($left)) {
1460 $left = $leftColor;
1467 $ltype = $left[0];
1472 return Util::toBool($left == Constants::TRUE && $right == Constants::TRUE);
1476 return Util::toBool($this->eq($left, $right));
1479 if ($op == '+' && !is_null($str = $this->stringConcatenate($left, $right))) {
1486 $out = $this->$fname($op, $left, $right);
1495 return ['string', '', [$left, $paddedOp, $right]];
1498 protected function stringConcatenate($left, $right) argument
1500 if ($strLeft = $this->coerceString($left)) {
1509 array_unshift($strRight[2], $left);
1542 protected function op_color_color($op, $left, $right) argument
1545 $max = count($left) > count($right) ? count($left) : count($right);
1547 $lval = $left[$i] ?? 0;
1578 protected function op_number_number($op, $left, $right) argument
1580 $unit = empty($left[2]) ? $right[2] : $left[2];
1585 $value = $left[1] + $right[1];
1588 $value = $left[1] * $right[1];
1591 $value = $left[1] - $right[1];
1594 $value = $left[1] % $right[1];
1598 $value = $left[1] / $right[1];
1601 return Util::toBool($left[1] < $right[1]);
1603 return Util::toBool($left[1] > $right[1]);
1605 return Util::toBool($left[1] >= $right[1]);
1607 return Util::toBool($left[1] <= $right[1]);