You are here

public function SassScriptVariable::evaluate in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/script/SassScriptVariable.php \SassScriptVariable::evaluate()

Returns the SassScript object for this variable.

Parameters

SassContext context of the variable:

Return value

SassLiteral the SassScript object for this variable

File

phpsass/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);
}