Свойство | Тип | Описание | |
---|---|---|---|
$visitors | Visitors |
Метод | Описание | |
---|---|---|
__construct ( ) | Constructs a node traverser. | |
addVisitor ( PHPParser_NodeVisitor $visitor ) | Adds a visitor. | |
traverse ( array $nodes ) : PHPParser_Node[] | Traverses an array of nodes using the registered visitors. |
Метод | Описание | |
---|---|---|
traverseArray ( array $nodes ) | ||
traverseNode ( PHPParser_Node $node ) |
public addVisitor ( PHPParser_NodeVisitor $visitor ) | ||
$visitor | PHPParser_NodeVisitor | Visitor to add |
protected traverseNode ( PHPParser_Node $node ) | ||
$node | PHPParser_Node |