First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
30
vendor/nikic/php-parser/lib/PhpParser/NodeTraverserInterface.php
vendored
Normal file
30
vendor/nikic/php-parser/lib/PhpParser/NodeTraverserInterface.php
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace PhpParser;
|
||||
|
||||
interface NodeTraverserInterface
|
||||
{
|
||||
/**
|
||||
* Adds a visitor.
|
||||
*
|
||||
* @param NodeVisitor $visitor Visitor to add
|
||||
*/
|
||||
function addVisitor(NodeVisitor $visitor);
|
||||
|
||||
/**
|
||||
* Removes an added visitor.
|
||||
*
|
||||
* @param NodeVisitor $visitor
|
||||
*/
|
||||
function removeVisitor(NodeVisitor $visitor);
|
||||
|
||||
/**
|
||||
* Traverses an array of nodes using the registered visitors.
|
||||
*
|
||||
* @param Node[] $nodes Array of nodes
|
||||
*
|
||||
* @return Node[] Traversed array of nodes
|
||||
*/
|
||||
function traverse(array $nodes);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue