Searched refs:visitor (Results 1 – 4 of 4) sorted by relevance
35 foreach ($visitors as $visitor) {36 $this->addVisitor($visitor);40 public function addVisitor(NodeVisitorInterface $visitor) argument42 $this->visitors[$visitor->getPriority()][] = $visitor;52 foreach ($visitors as $visitor) {53 $node = $this->traverseForVisitor($visitor, $node);63 private function traverseForVisitor(NodeVisitorInterface $visitor, Node $node) argument65 $node = $visitor->enterNode($node, $this->env);68 if (false !== ($m = $this->traverseForVisitor($visitor, $n)) && null !== $m) {81 return $visitor->leaveNode($node, $this->env);
275 public function addNodeVisitor(NodeVisitorInterface $visitor) argument281 $this->staging->addNodeVisitor($visitor);457 foreach ($extension->getNodeVisitors() as $visitor) {458 $this->visitors[] = $visitor;
760 public function addNodeVisitor(NodeVisitorInterface $visitor) argument762 $this->extensionSet->addNodeVisitor($visitor);
63 public function addNodeVisitor(NodeVisitorInterface $visitor) argument65 $this->visitors[] = $visitor;