/**
  * Visits a class node.
  *
  * @param \PDepend\Source\AST\ASTClass $class
  * @return void
  */
 public function visitClass(ASTClass $class)
 {
     $this->visits[] = $class->getName();
     parent::visitClass($class);
 }
Exemple #2
0
 /**
  * Visits a class node.
  *
  * @param \PDepend\Source\AST\ASTClass $node
  * @return void
  */
 public function visitClass(ASTClass $node)
 {
     if (!$node->isUserDefined()) {
         return;
     }
     $this->apply(new ClassNode($node));
     parent::visitClass($node);
 }