protected function SassNode::parseChildren in Sassy 7
Same name and namespace in other branches
- 7.3 phpsass/tree/SassNode.php \SassNode::parseChildren()
* Parse the children of the node. *
Parameters
SassContext the context in which the children are parsed: * @return array the parsed child nodes
9 calls to SassNode::parseChildren()
- SassDirectiveNode::parse in phamlp/
sass/ tree/ SassDirectiveNode.php - * Parse this node. *
- SassEachNode::parse in phamlp/
sass/ tree/ SassEachNode.php - * Parse this node. *
- SassForNode::parse in phamlp/
sass/ tree/ SassForNode.php - * Parse this node. *
- SassIfNode::parse in phamlp/
sass/ tree/ SassIfNode.php - * Parse this node. *
- SassPropertyNode::parse in phamlp/
sass/ tree/ SassPropertyNode.php - * Parse this node. * If the node is a property namespace return all parsed child nodes. If not * return the parsed version of this node. *
File
- phamlp/
sass/ tree/ SassNode.php, line 329
Class
- SassNode
- SassNode class. Base class for all Sass nodes. @package PHamlP @subpackage Sass.tree
Code
protected function parseChildren($context) {
$children = array();
foreach ($this->children as $child) {
$children = array_merge($children, $child
->parse($context));
}
// foreach
return $children;
}