Searched refs:hasNode (Results 1 – 16 of 16) sorted by relevance
48 if ($this->hasNode('package')) {54 if ($this->hasNode('version')) {78 if ($this->hasNode('package')) {81 if ($this->hasNode('version')) {
62 if ($this->hasNode('else')) {86 $this->loop->setAttribute('else', $this->hasNode('else'));101 if ($this->hasNode('else')) {109 if ($this->hasNode('else')) {
96 return $this->hasNode('parent') ? ['parent'] : [];136 if (!$this->hasNode('parent')) {222 if (!$this->hasNode('parent')) {361 if ($this->hasNode('parent')) {386 if (!$this->hasNode('parent')) {447 $traitable = !$this->hasNode('parent') && 0 === \count($this->getNode('macros'));
66 if ($this->getNode('tests')->hasNode((string) ($i + 1))) {71 if ($this->hasNode('else')) {
43 if ($this->hasNode('variables')) {
101 if (!$this->hasNode('variables')) {
199 public function hasNode(string $name): bool function in Twig\\Node\\Node
67 return $this->hasNode('template') ? ['template'] : [];72 if (!$this->hasNode('template')) {96 if (!$this->hasNode('template')) {
137 if ($this->hasNode('arguments')) {166 if ($this->hasNode('arguments')) {
85 if ($this->hasNode('arguments')) {
119 if ($this->hasNode('node')) {127 if ($this->hasNode('arguments')) {289 if ($this->hasNode('node')) {
24 if ($arguments->hasNode('enum')) {26 } elseif ($arguments->hasNode('0')) {
36 if ($this->getNode('arguments')->hasNode('1')) {
163 && (!$node->getNode('arguments')->hasNode('with_context')
188 if ($this->node->hasNode('node')) {