public function SassLiteral::op_div in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/script/literals/SassLiteral.php \SassLiteral::op_div()
SassScript '/' operation.
Parameters
SassLiteral value to divide by:
Return value
sassString the string values of this and other seperated by '/'
1 call to SassLiteral::op_div()
- SassNumber::op_div in phpsass/
script/ literals/ SassNumber.php - Divides this value by the value of other
2 methods override SassLiteral::op_div()
- SassColour::op_div in phpsass/
script/ literals/ SassColour.php - Colour division
- SassNumber::op_div in phpsass/
script/ literals/ SassNumber.php - Divides this value by the value of other
File
- phpsass/
script/ literals/ SassLiteral.php, line 131
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_div($other) {
return new SassString($this
->toString() . '/' . $other
->toString());
}