1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-14 02:17:31 +01:00
PHP-Parser/lib/PHPParser/NodeVisitorAbstract.php
nikic d53173c2f3 Don't use references in NodeTraverser
Stop using reference magic in the NodeTraverser. Instead use normal return values. Additionally enfore that an array is passed to ->traverse().
2011-09-24 23:39:05 +02:00

9 lines
303 B
PHP

<?php
class PHPParser_NodeVisitorAbstract implements PHPParser_NodeVisitor
{
public function beforeTraverse(array $nodes) { }
public function enterNode(PHPParser_Node $node) { }
public function leaveNode(PHPParser_Node $node) { }
public function afterTraverse(array $nodes) { }
}