protected function parseStmt_Property(Stmt\Property $node)
{
$visibility = $node->type & Node\Stmt\Class_::VISIBILITY_MODIFER_MASK;
$static = $node->type & Node\Stmt\Class_::MODIFIER_STATIC;
foreach ($node->props as $prop) {
if ($prop->default) {
$tmp = $this->block;
$this->block = $defaultBlock = new Block();
$defaultVar = $this->parseExprNode($prop->default);
$this->block = $tmp;
} else {
$defaultVar = null;
$defaultBlock = null;
}
$this->block->children[] = new Op\Stmt\Property($this->parseExprNode($prop->name), $visibility, $static, $defaultVar, $defaultBlock, $this->mapAttributes($node));
}
}