Example #1
0
    public function visitLabel(LabelNode $node)
    {
        $this->scope[] = $node->getName();
        $this->results[] = <<<EOS
{$this->getResult()}

if (\$_success) {
    \${$node->getName()} = \$this->value;
}
EOS;
    }