Свойство | Type | Description | |
---|---|---|---|
$visitors | Visitors |
Méthode | Description | |
---|---|---|
__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. |
Méthode | Description | |
---|---|---|
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 |