PDepend\Source\AST\ASTNode::getParentsOfType PHP Метод

getParentsOfType() публичный Метод

Traverses up the node tree and finds all parent nodes that are instances of $parentType.
public getParentsOfType ( string $parentType ) : PDepend\Source\AST\ASTNode[]
$parentType string
Результат PDepend\Source\AST\ASTNode[]
    public function getParentsOfType($parentType);