/** * Parses a class definition and adds it to the classes array. * * @param DocBlox_Reflection_TokenIterator $tokens Tokens to interpret with the * pointer at the token to be processed. * * @return void */ protected function processClass(DocBlox_Reflection_TokenIterator $tokens) { $this->resetTimer('class'); $class = new DocBlox_Reflection_Class(); $class->setFilename($this->filename); $class->setNamespace($this->active_namespace); $class->setNamespaceAliases($this->namespace_aliases); $class->setDefaultPackageName($this->getDefaultPackageName()); $class->parseTokenizer($tokens); $this->debugTimer('>> Processed class ' . $class->getName(), 'class'); $this->classes[$class->getName()] = $class; }
protected function processClass(DocBlox_TokenIterator $tokens) { $this->resetTimer('class'); $class = new DocBlox_Reflection_Class(); $class->setNamespace($this->active_namespace); $class->parseTokenizer($tokens); $this->debugTimer('>> Processed class '.$class->getName(), 'class'); $this->classes[$class->getName()] = $class; }