| extends | NodeVisitorAbstract | 
|---|
This visitor can be used to find the first node satisfying some criterion determined by a filter callback.
| Methods | ||
|---|---|---|
| 
					
	public
					
					
				 | __construct(callable $filterCallback) | # | 
| 
					
	public
					
					
				 | getFoundNode(): null|Node | # | 
| 
					
	public
					
					
				 | beforeTraverse(array $nodes) | # | 
| 
					
	public
					
					
				 | enterNode(Node $node) | # | 
| Methods inherited from PhpParser\NodeVisitorAbstract | 
|---|
| leaveNode(), afterTraverse() | 
| Properties | |||
|---|---|---|---|
| 
	protected
					
					
				 | callable | $filterCallback | # | 
| 
	protected
					
					
				 | null|Node | $foundNode | # |