public function traverse(Twig_NodeInterface $node)
    {
        ksort($this->visitors);
        foreach ($this->visitors as $visitors) {
            foreach ($visitors as $visitor) {
                $node = $this->traverseForVisitor($visitor, $node);
            }
        }

        return $node;
    }
public function traverse(Twig_NodeInterface $node)
    {
        ksort($this->visitors);
        foreach ($this->visitors as $visitors) {
            foreach ($visitors as $visitor) {
                $node = $this->traverseForVisitor($visitor, $node);
            }
        }

        return $node;
    }
public function traverse ( Twig_NodeInterface $ node ) { ksort ( $ this -> visitors ) ; foreach ( $ this -> visitors as $ visitors ) { foreach ( $ visitors as $ visitor ) { $ node = $ this -> traverseForVisitor ( $ visitor , $ node ) ; } } return $ node ; }
Traverses a node and calls the registered visitors.

@param Twig_NodeInterface $node A Twig_NodeInterface instance
Traverses a node and calls the registered visitors .