1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-12 17:37:21 +01:00
PHP-Parser/lib/PHPParser/NodeVisitorInterface.php
2011-08-09 09:28:58 +02:00

32 lines
627 B
PHP

<?php
interface PHPParser_NodeVisitorInterface
{
/**
* Called once before traversal.
*
* @param $node
*/
public function beforeTraverse(&$node);
/**
* Called when entering a node.
*
* @param PHPParser_NodeAbstract $node
*/
public function enterNode(PHPParser_NodeAbstract &$node);
/**
* Called when leaving a node.
*
* @param PHPParser_NodeAbstract $node
*/
public function leaveNode(PHPParser_NodeAbstract &$node);
/**
* Called once after traversal.
*
* @param $node
*/
public function afterTraverse(&$node);
}