You are here

public function SassExtendNode::__construct in Sassy 7.3

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

SassExtendNode.

Parameters

object source token:

Return value

SassExtendNode

Overrides SassNode::__construct

File

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