Lines Matching refs:visitors
27 protected array $visitors = []; variable in PhpParser\\NodeTraverser
37 public function __construct(NodeVisitor ...$visitors) { argument
38 $this->visitors = $visitors;
47 $this->visitors[] = $visitor;
54 $index = array_search($visitor, $this->visitors);
56 array_splice($this->visitors, $index, 1, []);
70 foreach ($this->visitors as $visitor) {
78 for ($i = \count($this->visitors) - 1; $i >= 0; --$i) {
79 $visitor = $this->visitors[$i];
106 foreach ($this->visitors as $visitorIndex => $visitor) {
139 $visitor = $this->visitors[$visitorIndex];
183 foreach ($this->visitors as $visitorIndex => $visitor) {
222 $visitor = $this->visitors[$visitorIndex];