public function parse($context)
{
if ($this->isElse() || $this->evaluate($this->expression, $context)->toBoolean()) {
$children = $this->parseChildren($context);
} elseif (!empty($this->else)) {
$children = $this->else->parse($context);
} else {
$children = array();
}
return $children;
}