You are here

public function SassLiteral::op_bw_not in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/script/literals/SassLiteral.php \SassLiteral::op_bw_not()

Bitwise NOT the value of other and the value of this

Parameters

SassNumber value to bitwise NOT with:

Return value

string result

Throws

Exception if bitwise NOT not supported for the data type

File

phpsass/script/literals/SassLiteral.php, line 181

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_bw_not() {
  throw new SassLiteralException(get_class($this) . ' does not support Bitwise NOT', SassScriptParser::$context->node);
}