public function SassLiteral::op_shiftl in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/script/literals/SassLiteral.php \SassLiteral::op_shiftl()
* Shifts the value of this left by the number of bits given in value *
Parameters
SassNumber amount to shift left by: * @return string result * @throws Exception if bitwise Shift Left not supported for the data type
1 method overrides SassLiteral::op_shiftl()
- SassColour::op_shiftl in phamlp/
sass/ script/ literals/ SassColour.php - * Colour bitwise Shift Left *
File
- phamlp/
sass/ script/ literals/ SassLiteral.php, line 191
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_shiftl($other) {
throw new SassLiteralException('{class} does not support {operation}.', array(
'{class}' => get_class($this),
'{operation}' => Phamlp::t('sass', 'Bitwise Shift Left'),
), SassScriptParser::$context->node);
}