You are here

protected function SassLiteral::getValue in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/script/literals/SassLiteral.php \SassLiteral::getValue()

* Returns the value of this *

Return value

mixed the value of this

4 methods override SassLiteral::getValue()
SassBoolean::getValue in phamlp/sass/script/literals/SassBoolean.php
* Returns the value of this boolean. *
SassColour::getValue in phamlp/sass/script/literals/SassColour.php
* Returns the value of this colour. *
SassNumber::getValue in phamlp/sass/script/literals/SassNumber.php
* Returns the value of this number. *
SassString::getValue in phamlp/sass/script/literals/SassString.php
* Returns the value of this string. *

File

phamlp/sass/script/literals/SassLiteral.php, line 87

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

protected function getValue() {
  throw new SassLiteralException('Child classes must override this method', array(), SassScriptParser::$context->node);
}