public function SassLiteral::op_eq in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/script/literals/SassLiteral.php \SassLiteral::op_eq()
* The SassScript == operation. *
Parameters
sassLiteral the value to compare to this: * @return SassBoolean SassBoolean object with the value true if this and * other are equal, false if they are not
1 method overrides SassLiteral::op_eq()
- SassNumber::op_eq in phamlp/
sass/ script/ literals/ SassNumber.php - * The SassScript == operation. *
File
- phamlp/
sass/ script/ literals/ SassLiteral.php, line 292
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_eq($other) {
return new SassBoolean($this == $other);
}