public function SassRootNode::parse in Sassy 7.3
Same name and namespace in other branches
- 7 phamlp/sass/tree/SassRootNode.php \SassRootNode::parse()
Parses this node and its children into the render tree. Dynamic nodes are evaluated, files imported, etc. Only static nodes for rendering are in the resulting tree.
Parameters
SassContext the context in which this node is parsed:
Return value
SassNode root node of the render tree
1 call to SassRootNode::parse()
- SassRootNode::render in phpsass/
tree/ SassRootNode.php - Render this node.
File
- phpsass/
tree/ SassRootNode.php, line 64
Class
- SassRootNode
- SassRootNode class. Also the root node of a document. @package PHamlP @subpackage Sass.tree
Code
public function parse($context) {
$node = clone $this;
$node->children = $this
->parseChildren($context);
return $node;
}