public function SassLiteral::op_gt in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/script/literals/SassLiteral.php \SassLiteral::op_gt()
The SassScript > operation.
Parameters
sassLiteral the value to compare to this:
Return value
SassBoolean SassBoolean object with the value true if the values of this is greater than the value of other, false if it is not
1 method overrides SassLiteral::op_gt()
- SassNumber::op_gt in phpsass/
script/ literals/ SassNumber.php - The SassScript > operation.
File
- phpsass/
script/ literals/ SassLiteral.php, line 252
Class
- SassLiteral
- SassLiteral class. Base class for all Sass literals. Sass data types are extended from this class and these override the operation methods to provide the appropriate semantics. @package PHamlP @subpackage Sass.script.literals
Code
public function op_gt($other) {
return new SassBoolean($this->value > $other->value);
}