/** * Visits a property node. * * @param \PDepend\Source\AST\ASTProperty $property * @return void */ public function visitProperty(ASTProperty $property) { $this->visits[] = $property->getName(); parent::visitProperty($property); }
/** * Visits an interface node. * * @param \PDepend\Source\AST\ASTInterface $node * @return void */ public function visitInterface(ASTInterface $node) { if (!$node->isUserDefined()) { return; } $this->apply(new InterfaceNode($node)); parent::visitInterface($node); }