Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
LiteSpeed
Server IP : 23.137.84.82 & Your IP : 216.73.216.127
Domains :
Cant Read [ /etc/named.conf ]
User : epicgamerzoneco
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
cpguard /
app /
vendor /
twig /
twig /
src /
Node /
Delete
Unzip
Name
Size
Permission
Date
Action
Expression
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
AutoEscapeNode.php
866
B
-rw-r--r--
2024-09-27 07:26
BlockNode.php
1.21
KB
-rw-r--r--
2024-09-27 07:26
BlockReferenceNode.php
870
B
-rw-r--r--
2024-09-27 07:26
BodyNode.php
389
B
-rw-r--r--
2024-09-27 07:26
CaptureNode.php
1.48
KB
-rw-r--r--
2024-09-27 07:26
CheckSecurityCallNode.php
653
B
-rw-r--r--
2025-05-08 04:26
CheckSecurityNode.php
2.97
KB
-rw-r--r--
2024-09-27 07:26
CheckToStringNode.php
1.25
KB
-rw-r--r--
2024-09-27 07:26
DeprecatedNode.php
1.83
KB
-rw-r--r--
2024-09-27 07:26
DoNode.php
820
B
-rw-r--r--
2024-09-27 07:26
EmbedNode.php
1.54
KB
-rw-r--r--
2025-05-08 04:26
EmptyNode.php
648
B
-rw-r--r--
2025-05-08 04:26
FlushNode.php
772
B
-rw-r--r--
2024-09-27 07:26
ForElseNode.php
864
B
-rw-r--r--
2025-05-08 04:26
ForLoopNode.php
1.42
KB
-rw-r--r--
2024-09-27 07:26
ForNode.php
4.37
KB
-rw-r--r--
2025-05-08 04:26
IfNode.php
2.24
KB
-rw-r--r--
2025-05-08 04:26
ImportNode.php
1.86
KB
-rw-r--r--
2025-05-08 04:26
IncludeNode.php
3.2
KB
-rw-r--r--
2025-05-08 04:26
MacroNode.php
3.94
KB
-rw-r--r--
2025-05-08 04:26
ModuleNode.php
15.57
KB
-rw-r--r--
2025-05-08 04:26
NameDeprecation.php
916
B
-rw-r--r--
2024-09-27 07:26
Node.php
9.17
KB
-rw-r--r--
2025-05-08 04:26
NodeCaptureInterface.php
384
B
-rw-r--r--
2024-09-27 07:26
NodeOutputInterface.php
363
B
-rw-r--r--
2024-09-27 07:26
Nodes.php
526
B
-rw-r--r--
2025-05-08 04:26
PrintNode.php
1008
B
-rw-r--r--
2024-09-27 07:26
SandboxNode.php
1.28
KB
-rw-r--r--
2024-09-27 07:26
SetNode.php
3.91
KB
-rw-r--r--
2025-05-08 04:26
TextNode.php
834
B
-rw-r--r--
2024-09-27 07:26
TypesNode.php
569
B
-rw-r--r--
2025-05-08 04:26
WithNode.php
2.07
KB
-rw-r--r--
2024-09-27 07:26
Save
Rename
<?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 Twig\Node; use Twig\Attribute\YieldReady; use Twig\Compiler; use Twig\Error\SyntaxError; use Twig\Node\Expression\ArrayExpression; use Twig\Node\Expression\Variable\LocalVariable; /** * Represents a macro node. * * @author Fabien Potencier <fabien@symfony.com> */ #[YieldReady] class MacroNode extends Node { public const VARARGS_NAME = 'varargs'; /** * @param BodyNode $body * @param ArrayExpression $arguments */ public function __construct(string $name, Node $body, Node $arguments, int $lineno) { if (!$body instanceof BodyNode) { trigger_deprecation('twig/twig', '3.12', \sprintf('Not passing a "%s" instance as the "body" argument of the "%s" constructor is deprecated ("%s" given).', BodyNode::class, static::class, $body::class)); } if (!$arguments instanceof ArrayExpression) { trigger_deprecation('twig/twig', '3.15', \sprintf('Not passing a "%s" instance as the "arguments" argument of the "%s" constructor is deprecated ("%s" given).', ArrayExpression::class, static::class, $arguments::class)); $args = new ArrayExpression([], $arguments->getTemplateLine()); foreach ($arguments as $n => $default) { $args->addElement($default, new LocalVariable($n, $default->getTemplateLine())); } $arguments = $args; } foreach ($arguments->getKeyValuePairs() as $pair) { if ("\u{035C}".self::VARARGS_NAME === $pair['key']->getAttribute('name')) { throw new SyntaxError(\sprintf('The argument "%s" in macro "%s" cannot be defined because the variable "%s" is reserved for arbitrary arguments.', self::VARARGS_NAME, $name, self::VARARGS_NAME), $pair['value']->getTemplateLine(), $pair['value']->getSourceContext()); } } parent::__construct(['body' => $body, 'arguments' => $arguments], ['name' => $name], $lineno); } public function compile(Compiler $compiler): void { $compiler ->addDebugInfo($this) ->write(\sprintf('public function macro_%s(', $this->getAttribute('name'))) ; /** @var ArrayExpression $arguments */ $arguments = $this->getNode('arguments'); foreach ($arguments->getKeyValuePairs() as $pair) { $name = $pair['key']; $default = $pair['value']; $compiler ->subcompile($name) ->raw(' = ') ->subcompile($default) ->raw(', ') ; } $compiler ->raw('...$varargs') ->raw("): string|Markup\n") ->write("{\n") ->indent() ->write("\$macros = \$this->macros;\n") ->write("\$context = [\n") ->indent() ; foreach ($arguments->getKeyValuePairs() as $pair) { $name = $pair['key']; $var = $name->getAttribute('name'); if (str_starts_with($var, "\u{035C}")) { $var = substr($var, \strlen("\u{035C}")); } $compiler ->write('') ->string($var) ->raw(' => ') ->subcompile($name) ->raw(",\n") ; } $node = new CaptureNode($this->getNode('body'), $this->getNode('body')->lineno); $compiler ->write('') ->string(self::VARARGS_NAME) ->raw(' => ') ->raw("\$varargs,\n") ->outdent() ->write("] + \$this->env->getGlobals();\n\n") ->write("\$blocks = [];\n\n") ->write('return ') ->subcompile($node) ->raw("\n") ->outdent() ->write("}\n\n") ; } }