protected function parseClassDeclaration() { $this->tokenStack->push(); $class = $this->parseClassSignature(); $class = $this->parseTypeBody($class); $class->setTokens($this->tokenStack->pop()); $this->reset(); return $class; }