You are here

abstract public function SassLiteral::toString in Sassy 7

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

* Returns a string representation of the value. *

Return value

string string representation of the value.

7 calls to SassLiteral::toString()
SassLiteral::op_comma in phamlp/sass/script/literals/SassLiteral.php
* SassScript ',' operation. *
SassLiteral::op_concat in phamlp/sass/script/literals/SassLiteral.php
* The SassScript default operation (e.g. $a $b, "foo" "bar"). *
SassLiteral::op_div in phamlp/sass/script/literals/SassLiteral.php
* SassScript '/' operation. *
SassLiteral::op_minus in phamlp/sass/script/literals/SassLiteral.php
* SassScript '-' operation. *
SassLiteral::op_plus in phamlp/sass/script/literals/SassLiteral.php
* SassScript '+' operation. *

... See full list

6 methods override SassLiteral::toString()
CompassColourStop::toString in phamlp/sass/extensions/compass/functions/colourStops.php
* Returns a string representation of the value. *
CompassList::toString in phamlp/sass/extensions/compass/functions/colourStops.php
* Returns a string representation of the value. *
SassBoolean::toString in phamlp/sass/script/literals/SassBoolean.php
* Returns a string representation of the value. *
SassColour::toString in phamlp/sass/script/literals/SassColour.php
* Converts the colour to a string. *
SassNumber::toString in phamlp/sass/script/literals/SassNumber.php
* Converts the number to a string with it's units if any. * If the units are px the result is rounded down to the nearest integer, * otherwise the result is rounded to the specified precision. *

... See full list

File

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

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 abstract function toString();