protected function _processMethods($parent)
{
foreach ($parent->tree as $child) {
if (!$child->processable) {
continue;
}
$process = $child->type === 'function' && $child->isMethod && !isset($child->visibility['abstract']);
if ($process) {
$code = $this->_classes['node'];
$before = new $code($this->_before($child->isGenerator), 'code');
$before->parent = $child;
$before->function = $child;
$before->processable = false;
$before->namespace = $child->namespace;
array_unshift($child->tree, $before);
}
}
}