Lines Matching refs:right

497 	protected function eq($left, $right) {  argument
498 return $left == $right;
1710 list(, $op, $left, $right, $whiteBefore, $whiteAfter) = $exp;
1713 $right = $this->reduce($right, true);
1719 if ($rightColor = $this->coerceColor($right)) {
1720 $right = $rightColor;
1724 $rtype = $right[0];
1728 return $this->toBool($left == self::$TRUE && $right == self::$TRUE);
1732 return $this->toBool($this->eq($left, $right) );
1735 if ($op == "+" && !is_null($str = $this->stringConcatenate($left, $right))) {
1742 $out = $this->$fname($op, $left, $right);
1751 return array("string", "", array($left, $paddedOp, $right));
1754 protected function stringConcatenate($left, $right) { argument
1756 if ($right[0] == "string") {
1757 $right[1] = "";
1759 $strLeft[2][] = $right;
1763 if ($strRight = $this->coerceString($right)) {
1865 protected function op_color_color($op, $left, $right) { argument
1867 $max = count($left) > count($right) ? count($left) : count($right);
1870 $rval = isset($right[$i]) ? $right[$i] : 0;
1924 protected function op_number_number($op, $left, $right) { argument
1925 $unit = empty($left[2]) ? $right[2] : $left[2];
1930 $value = $left[1] + $right[1];
1933 $value = $left[1] * $right[1];
1936 $value = $left[1] - $right[1];
1939 $value = $left[1] % $right[1];
1942 if ($right[1] == 0) $this->throwError('parse error: divide by zero');
1943 $value = $left[1] / $right[1];
1946 return $this->toBool($left[1] < $right[1]);
1948 return $this->toBool($left[1] > $right[1]);
1950 return $this->toBool($left[1] >= $right[1]);
1952 return $this->toBool($left[1] <= $right[1]);