code: public function getClassesMetdata(array $nodes)
      {
          $classMetadata = new ClassMetadata();
  
          $classMetadata = $this->build($nodes, $classMetadata);
  
          $namespace = $classMetadata->getNamespace();
  
          if ($namespace === null) {
              throw new \Exception('Namespace not found');
          }
  
          return $classMetadata;
      }
docs: @param array $nodes
  
  @return \PhpToZephir\Converter\ClassMetadata