This method will search recursive for the first child node that is an
instance of the given $targetType. The returned value will be
null if no child exists for that.
public getFirstChildOfType ( string $targetType ) : PDepend\Source\AST\ASTNode | ||
$targetType | string | |
Résultat | PDepend\Source\AST\ASTNode |