mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-12 09:09:41 +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) { }
|
|
} |