public function SassScriptVariable::evaluate in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/script/SassScriptVariable.php \SassScriptVariable::evaluate()
* Returns the SassScript object for this variable. *
Parameters
SassContext context of the variable: * @return SassLiteral the SassScript object for this variable
File
- phamlp/
sass/ script/ SassScriptVariable.php, line 42
Class
- SassScriptVariable
- SassVariable class. @package PHamlP @subpackage Sass.script.literals
Code
public function evaluate($context) {
return $context
->getVariable($this->name);
}