You are here

public function SassDirectiveNode::parse in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/tree/SassDirectiveNode.php \SassDirectiveNode::parse()

* Parse this node. *

Parameters

SassContext the context in which this node is parsed: * @return array the parsed node

File

phamlp/sass/tree/SassDirectiveNode.php, line 43

Class

SassDirectiveNode
SassDirectiveNode class. Represents a CSS directive. @package PHamlP @subpackage Sass.tree

Code

public function parse($context) {
  $this->children = $this
    ->parseChildren($context);
  return array(
    $this,
  );
}