Sha256: c2425ed1183bc6cf3f08012a2459c029d3e759e64eb928370005ad6d30b7b3d7

Contents?: true

Size: 667 Bytes

Versions: 10

Compression:

Stored size: 667 Bytes

Contents

<?php

namespace MtHaml\Node;

use MtHaml\NodeVisitor\NodeVisitorInterface;

class TagAttributeInterpolation extends TagAttribute
{
    public function __construct(array $position, NodeAbstract $value = null)
    {
        parent::__construct($position, null, $value);
    }

    public function accept(NodeVisitorInterface $visitor)
    {
        if (false !== $visitor->enterTagAttribute($this)) {
            if (false !== $visitor->enterTagAttributeInterpolation($this)) {
                $this->getValue()->accept($visitor);
            }
            $visitor->leaveTagAttributeInterpolation($this);
        }
        $visitor->leaveTagAttribute($this);
    }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
guard-mthaml-0.4.0 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php
guard-mthaml-0.3.1 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php
guard-mthaml-0.3.0 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php
guard-mthaml-0.2.5 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php
guard-mthaml-0.2.4 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php
guard-mthaml-0.2.3 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php
guard-mthaml-0.2.2 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php
guard-mthaml-0.2.1 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php
guard-mthaml-0.2.0 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php
guard-mthaml-0.1.0 vendor/mthaml/mthaml/lib/MtHaml/Node/TagAttributeInterpolation.php