Lines Matching refs:node
39 protected function doEnterNode(Node $node, Environment $env) argument
41 return $node;
44 protected function doLeaveNode(Node $node, Environment $env) argument
46 if ($node instanceof ModuleNode) {
47 …$node->setNode('display_start', new Node([new EnterProfileNode($this->extensionName, Profile::TEMP…
48 …$node->setNode('display_end', new Node([new LeaveProfileNode($this->varName), $node->getNode('disp…
49 } elseif ($node instanceof BlockNode) {
50 $node->setNode('body', new BodyNode([
51 …new EnterProfileNode($this->extensionName, Profile::BLOCK, $node->getAttribute('name'), $this->var…
52 $node->getNode('body'),
55 } elseif ($node instanceof MacroNode) {
56 $node->setNode('body', new BodyNode([
57 …new EnterProfileNode($this->extensionName, Profile::MACRO, $node->getAttribute('name'), $this->var…
58 $node->getNode('body'),
63 return $node;