mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 12:35:05 +01:00
d53173c2f3
Stop using reference magic in the NodeTraverser. Instead use normal return values. Additionally enfore that an array is passed to ->traverse().
9 lines
303 B
PHP
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) { }
|
|
} |