public function visitProperty(Property $node)
 {
     $prop = $node->props[0];
     $p = new PhpProperty($prop->name);
     $p->setStatic($node->isStatic());
     $p->setVisibility($this->getVisibility($node));
     $this->parseValue($p, $prop);
     $this->parseMemberDocblock($p, $node->getDocComment());
     $this->struct->setProperty($p);
 }
 protected function getProperty(Property $node)
 {
     $prop = $node->props[0];
     $p = new PhpProperty($prop->name);
     $default = $prop->default;
     if ($default !== null) {
         $p->setDefaultValue($this->getValue($default));
     }
     $p->setStatic($node->isStatic());
     $p->setVisibility($this->getVisibility($node));
     $this->parseMemberDocblock($p, $node->getDocComment());
     return $p;
 }