예제 #1
0
 /**
  * Parses/Creates a property postfix node instance.
  *
  * @param \PDepend\Source\AST\ASTNode $node Node that represents the image of
  *        the property postfix node.
  *
  * @return \PDepend\Source\AST\ASTPropertyPostfix
  * @since  0.10.2
  */
 private function parsePropertyPostfix(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;
 }