public function SassLiteral::op_shiftr in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/script/literals/SassLiteral.php \SassLiteral::op_shiftr()
Shifts the value of this right by the number of bits given in value
Parameters
SassNumber amount to shift right by:
Return value
string result
Throws
Exception if bitwise Shift Right not supported for the data type
1 method overrides SassLiteral::op_shiftr()
- SassColour::op_shiftr in phpsass/
script/ literals/ SassColour.php - Colour bitwise Shift Right
File
- phpsass/
script/ literals/ SassLiteral.php, line 201
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_shiftr($other) {
throw new SassLiteralException(get_class($this) . ' does not support Bitwise Shift Right', SassScriptParser::$context->node);
}