public function SassExtendNode::__construct in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/tree/SassExtendNode.php \SassExtendNode::__construct()
* SassExtendNode. *
Parameters
object source token: * @return SassExtendNode
Overrides SassNode::__construct
File
- phamlp/
sass/ tree/ SassExtendNode.php, line 33
Class
- SassExtendNode
- SassExtendNode class. Represents a Sass @debug or @warn directive. @package PHamlP @subpackage Sass.tree
Code
public function __construct($token) {
parent::__construct($token);
preg_match(self::MATCH, $token->source, $matches);
$this->value = $matches[self::VALUE];
}