Jade\Compiler\TagVisitor::visitTagAttributes PHP Метод

visitTagAttributes() защищенный Метод

protected visitTagAttributes ( Jade\Nodes\Tag $tag, $newLinePrettyPrint, $close = '>' )
$tag Jade\Nodes\Tag
    protected function visitTagAttributes(Tag $tag, $newLinePrettyPrint, $close = '>')
    {
        $open = '<' . $tag->name;
        if (count($tag->attributes)) {
            $this->buffer($this->indent() . $open, false);
            $this->visitAttributes($tag->attributes);
            $this->buffer($this->getClassesDisplayCode() . $close . $this->newline(), false);
            return;
        }
        $this->buffer($open . $close, $newLinePrettyPrint ? null : false);
    }