Kahlan\Jit\Node\NodeDef::__toString PHP Method

__toString() public method

Returns the textual representation of the node.
public __toString ( ) : string
return string
    public function __toString()
    {
        $children = '';
        foreach ($this->tree as $node) {
            $children .= (string) $node;
        }
        return $this->body . $children . $this->close;
    }