Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. NodeVisitor.php

function NodeVisitor::beforeTraverse

Same name in this branch
  1. 11.1.x vendor/phpstan/phpdoc-parser/src/Ast/NodeVisitor.php \PHPStan\PhpDocParser\Ast\NodeVisitor::beforeTraverse()

Called once before traversal.

Return value semantics:

  • null: $nodes stays as-is
  • otherwise: $nodes is set to the return value

Parameters

Node[] $nodes Array of nodes:

Return value

null|Node[] Array of nodes

1 method overrides NodeVisitor::beforeTraverse()
NodeVisitorAbstract::beforeTraverse in vendor/nikic/php-parser/lib/PhpParser/NodeVisitorAbstract.php
Called once before traversal.

File

vendor/nikic/php-parser/lib/PhpParser/NodeVisitor.php, line 59

Class

NodeVisitor

Namespace

PhpParser

Code

public function beforeTraverse(array $nodes);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal