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);