public function accept(NodeElementVisitorInterface $visitor)
    {
        $visitor->visitNodeFirst($this);
        foreach ($this->elements as $element) {
            $element->accept($visitor);
        }
        $visitor->visitNode($this);
    }
public function accept(NodeElementVisitorInterface $visitor)
    {
        $visitor->visitNodeFirst($this);
        foreach ($this->elements as $element) {
            $element->accept($visitor);
        }
        $visitor->visitNode($this);
    }
public function accept ( NodeElementVisitorInterface $ visitor ) { $ visitor -> visitNodeFirst ( $ this ) ; foreach ( $ this -> elements as $ element ) { $ element -> accept ( $ visitor ) ; } $ visitor -> visitNode ( $ this ) ; }
Recursion for tree pushed down to visitor so
it can deside the traversing algorithm
@see NodeElementInterface::accept()
Recursion for tree pushed down to visitor so it can deside the traversing algorithm