/** * Parses/Creates a property postfix node instance. * * @param PHP_Depend_Code_ASTNode $node Node that represents the image of * the property postfix node. * * @return PHP_Depend_Code_ASTPropertyPostfix * @since 0.10.2 */ private function parsePropertyPostfix(PHP_Depend_Code_ASTNode $node) { $image = $this->extractPostfixImage($node); $postfix = $this->builder->buildAstPropertyPostfix($image); $postfix->addChild($node); $postfix->setEndLine($node->getEndLine()); $postfix->setEndColumn($node->getEndColumn()); $postfix->setStartLine($node->getStartLine()); $postfix->setStartColumn($node->getStartColumn()); return $postfix; }