You are here

public function SassLiteral::getValue in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/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 phpsass/script/literals/SassBoolean.php
Returns the value of this boolean.
SassColour::getValue in phpsass/script/literals/SassColour.php
Returns the value of this colour.
SassNumber::getValue in phpsass/script/literals/SassNumber.php
Returns the value of this number.
SassString::getValue in phpsass/script/literals/SassString.php
Returns the value of this string.

File

phpsass/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

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