PHP 8.2.31
Preview: NodeVisitor.php Size: 2.00 KB
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/nikic/php-parser/lib/PhpParser/NodeVisitor.php

<?php

declare (strict_types=1);
namespace PhpParser;

interface NodeVisitor
{
    /**
     * Called once before traversal.
     *
     * Return value semantics:
     *  * null:      $nodes stays as-is
     *  * otherwise: $nodes is set to the return value
     *
     * @param Node[] $nodes Array of nodes
     *
     * @return null|Node[] Array of nodes
     */
    public function beforeTraverse(array $nodes);
    /**
     * Called when entering a node.
     *
     * Return value semantics:
     *  * null
     *        => $node stays as-is
     *  * NodeTraverser::DONT_TRAVERSE_CHILDREN
     *        => Children of $node are not traversed. $node stays as-is
     *  * NodeTraverser::STOP_TRAVERSAL
     *        => Traversal is aborted. $node stays as-is
     *  * otherwise
     *        => $node is set to the return value
     *
     * @param Node $node Node
     *
     * @return null|int|Node Replacement node (or special return value)
     */
    public function enterNode(\PhpParser\Node $node);
    /**
     * Called when leaving a node.
     *
     * Return value semantics:
     *  * null
     *        => $node stays as-is
     *  * NodeTraverser::REMOVE_NODE
     *        => $node is removed from the parent array
     *  * NodeTraverser::STOP_TRAVERSAL
     *        => Traversal is aborted. $node stays as-is
     *  * array (of Nodes)
     *        => The return value is merged into the parent array (at the position of the $node)
     *  * otherwise
     *        => $node is set to the return value
     *
     * @param Node $node Node
     *
     * @return null|int|Node|Node[] Replacement node (or special return value)
     */
    public function leaveNode(\PhpParser\Node $node);
    /**
     * Called once after traversal.
     *
     * Return value semantics:
     *  * null:      $nodes stays as-is
     *  * otherwise: $nodes is set to the return value
     *
     * @param Node[] $nodes Array of nodes
     *
     * @return null|Node[] Array of nodes
     */
    public function afterTraverse(array $nodes);
}

Directory Contents

Dirs: 9 × Files: 23

Name Size Perms Modified Actions
Builder DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
Comment DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
Internal DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
Lexer DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
Node DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
Parser DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
215 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
11.23 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
9.42 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
7.43 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
87 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
9.37 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
4.92 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
306 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
3.32 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
22.71 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
9.49 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
3.88 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
5.12 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
6.58 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.43 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
10.24 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
650 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.00 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
485 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
641 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
39.73 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.82 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
58.27 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).