/** * Parse this node. * Set passed arguments and any optional arguments not passed to their * defaults, then render the children of the return definition. * @param SassContext the context in which this node is parsed * @return array the parsed node */ public function parse($pcontext) { $return = $this; $context = new SassContext($pcontext); $children = array(); foreach ($context->getContent() as $child) { $child->parent = $this->parent; $children = array_merge($children, $child->parse($pcontext)); } return $children; }
/** * Parse this node. * Set passed arguments and any optional arguments not passed to their * defaults, then render the children of the return definition. * @param SassContext the context in which this node is parsed * @return array the parsed node */ public function parse($pcontext) { $return = $this; $context = new SassContext($pcontext); return $context->getContent(); }