public function SassLiteral::__construct in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/script/literals/SassLiteral.php \SassLiteral::__construct()
* class constructor *
Parameters
string value of the literal type: * @return SassLiteral
6 methods override SassLiteral::__construct()
- CompassColourStop::__construct in phamlp/
sass/ extensions/ compass/ functions/ colourStops.php - * class constructor *
- CompassList::__construct in phamlp/
sass/ extensions/ compass/ functions/ colourStops.php - * class constructor *
- SassBoolean::__construct in phamlp/
sass/ script/ literals/ SassBoolean.php - * SassBoolean constructor *
- SassColour::__construct in phamlp/
sass/ script/ literals/ SassColour.php - * Constructs an RGB or HSL color object, optionally with an alpha channel. * RGB values must be between 0 and 255. Saturation and lightness values must * be between 0 and 100. The alpha value must be between 0 and 1. * The colour can be…
- SassNumber::__construct in phamlp/
sass/ script/ literals/ SassNumber.php - * class constructor. * Sets the value and units of the number. *
File
- phamlp/
sass/ script/ literals/ SassLiteral.php, line 43
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 __construct($value = null, $context) {
$this->value = $value;
$this->context = $context;
}