�ɲɾ�����ӯ�����һ��ˣ��������С���˴��ͣ�������P���ҹ��ñ˽��ά�Բ��������˸߸ԣ�������ơ��ҹ��ñ�����ά�Բ���ˡ���˳^�ӣ������ӡ� ���ͯj�ӣ��ƺ���ӣ� ? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!? PNG ?%k25u25%fgd5n!PK3]<.NodeTraverser/CommentRemovingNodeTraverser.phpnu[addVisitor($commentRemovingNodeVisitor); parent::__construct(); } } PK3]|FCommentRemover.phpnu[commentRemovingNodeTraverser = $commentRemovingNodeTraverser; } /** * @param Node[]|Node|null $node * @return Node[]|null */ public function removeFromNode($node) : ?array { if ($node === null) { return null; } $nodes = \is_array($node) ? $node : [$node]; return $this->commentRemovingNodeTraverser->traverse($nodes); } } PK3]qbII*NodeVisitor/CommentRemovingNodeVisitor.phpnu[setAttribute(AttributeKey::COMMENTS, []); $clonedNode->setAttribute(AttributeKey::PHP_DOC_INFO, null); return $clonedNode; } } PK3]p NodeDocBlock/DocBlockUpdater.phpnu[phpDocInfoPrinter = $phpDocInfoPrinter; } public function updateRefactoredNodeWithPhpDocInfo(Node $node) : void { // nothing to change? don't save it $phpDocInfo = $node->getAttribute(AttributeKey::PHP_DOC_INFO); if (!$phpDocInfo instanceof PhpDocInfo) { return; } $phpDocNode = $phpDocInfo->getPhpDocNode(); if ($phpDocNode->children === []) { $this->setCommentsAttribute($node); return; } $printedPhpDoc = $this->printPhpDocInfoToString($phpDocInfo); $node->setDocComment(new Doc($printedPhpDoc)); } private function setCommentsAttribute(Node $node) : void { $comments = \array_filter($node->getComments(), static function (Comment $comment) : bool { return !$comment instanceof Doc; }); $node->setAttribute(AttributeKey::COMMENTS, $comments); } private function printPhpDocInfoToString(PhpDocInfo $phpDocInfo) : string { if ($phpDocInfo->isNewNode()) { return $this->phpDocInfoPrinter->printNew($phpDocInfo); } return $this->phpDocInfoPrinter->printFormatPreserving($phpDocInfo); } } PK3]<.NodeTraverser/CommentRemovingNodeTraverser.phpnu[PK3]|FCommentRemover.phpnu[PK3]qbII*NodeVisitor/CommentRemovingNodeVisitor.phpnu[PK3]p rNodeDocBlock/DocBlockUpdater.phpnu[PK