Flow\Node\BlockNode::compile PHP Method

compile() public method

public compile ( $compiler, $indent )
    public function compile($compiler, $indent = 0)
    {
        $compiler->raw("\n");
        $compiler->addTraceInfo($this, $indent, false);
        $compiler->raw('public function block_' . $this->name . '($context, $blocks = array(), $macros = array(),' . ' $imports = array())' . "\n", $indent);
        $compiler->raw("{\n", $indent);
        $this->body->compile($compiler, $indent + 1);
        $compiler->raw("}\n", $indent);
    }