You are here

public function SassContext::__construct in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/tree/SassContext.php \SassContext::__construct()

SassContext constructor.

Parameters

SassContext - the enclosing context:

Return value

SassContext

File

phpsass/tree/SassContext.php, line 51

Class

SassContext
SassContext class. Defines the context that the parser is operating in and so allows variables to be scoped. A new context is created for Mixins and imported files. @package PHamlP @subpackage Sass.tree

Code

public function __construct($parent = null) {
  $this->parent = $parent;
}