NodeVisitorAbstract.php 438 B

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