Lines Matching refs:node
26 $node = new DeprecatedNode($expr, 1);
28 $this->assertEquals($expr, $node->getNode('expr'));
36 $node = new DeprecatedNode($expr, 1, 'deprecated');
37 $node->setTemplateName('foo.twig');
39 $tests[] = [$node, <<<EOF
49 $node = new IfNode($t, null, 1);
50 $node->setTemplateName('foo.twig');
52 $tests[] = [$node, <<<EOF
65 $node = new DeprecatedNode($expr, 1, 'deprecated');
66 $node->setTemplateName('foo.twig');
71 $tests[] = [$node, <<<EOF