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/nikic/php-parser/lib/PhpParser/NodeVisitor.php \PhpParser\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 Node[]|null Array of nodes

1 method overrides NodeVisitor::beforeTraverse()
AbstractNodeVisitor::beforeTraverse in vendor/phpstan/phpdoc-parser/src/Ast/AbstractNodeVisitor.php
* Called once before traversal. * * Return value semantics: * * null: $nodes stays as-is * * otherwise: $nodes is set to the return value * *

File

vendor/phpstan/phpdoc-parser/src/Ast/NodeVisitor.php, line 25

Class

NodeVisitor
Inspired by https://github.com/nikic/PHP-Parser/tree/36a6dcd04e7b0285e8f0868f44bd49…

Namespace

PHPStan\PhpDocParser\Ast

Code

public function beforeTraverse(array $nodes) : ?array;

API Navigation

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