NodeVisitorAbstract.php 447 B

123456789101112131415161718192021222324
  1. <?php declare(strict_types=1);
  2. namespace PhpParser;
  3. /**
  4. * @codeCoverageIgnore
  5. */
  6. abstract class NodeVisitorAbstract implements NodeVisitor {
  7. public function beforeTraverse(array $nodes) {
  8. return null;
  9. }
  10. public function enterNode(Node $node) {
  11. return null;
  12. }
  13. public function leaveNode(Node $node) {
  14. return null;
  15. }
  16. public function afterTraverse(array $nodes) {
  17. return null;
  18. }
  19. }