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 /
Delete
Unzip
Name
Size
Permission
Date
Action
Attribute
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Cache
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Error
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
ExpressionParser
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Extension
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Loader
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Node
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
NodeVisitor
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Profiler
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Resources
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Runtime
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
RuntimeLoader
[ DIR ]
drwxr-xr-x
2024-09-27 07:26
Sandbox
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Test
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
TokenParser
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
Util
[ DIR ]
drwxr-xr-x
2025-05-08 04:26
AbstractTwigCallable.php
5.36
KB
-rw-r--r--
2025-05-08 04:26
Compiler.php
6.17
KB
-rw-r--r--
2025-05-08 04:26
DeprecatedCallableInfo.php
1.64
KB
-rw-r--r--
2025-05-08 04:26
Environment.php
27.04
KB
-rw-r--r--
2025-05-08 04:26
ExpressionParser.php
12.32
KB
-rw-r--r--
2025-05-08 04:26
ExtensionSet.php
16.55
KB
-rw-r--r--
2025-05-08 04:26
FileExtensionEscapingStrategy.php
1.44
KB
-rw-r--r--
2025-05-08 04:26
Lexer.php
22.28
KB
-rw-r--r--
2025-05-08 04:26
Markup.php
1.03
KB
-rw-r--r--
2025-05-08 04:26
NodeTraverser.php
1.78
KB
-rw-r--r--
2024-09-27 07:26
OperatorPrecedenceChange.php
874
B
-rw-r--r--
2025-05-08 04:26
Parser.php
21.44
KB
-rw-r--r--
2025-05-08 04:26
Source.php
929
B
-rw-r--r--
2024-09-27 07:26
Template.php
16.03
KB
-rw-r--r--
2025-05-08 04:26
TemplateWrapper.php
2.56
KB
-rw-r--r--
2025-05-08 04:26
Token.php
7.75
KB
-rw-r--r--
2025-05-08 04:26
TokenStream.php
3.5
KB
-rw-r--r--
2025-05-08 04:26
TwigCallableInterface.php
1.17
KB
-rw-r--r--
2024-09-27 07:26
TwigFilter.php
1.84
KB
-rw-r--r--
2025-05-08 04:26
TwigFunction.php
1.58
KB
-rw-r--r--
2024-09-27 07:26
TwigTest.php
1.53
KB
-rw-r--r--
2024-09-27 07:26
Save
Rename
<?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 Twig; use Twig\Error\SyntaxError; /** * Represents a token stream. * * @author Fabien Potencier <fabien@symfony.com> */ final class TokenStream { private $current = 0; public function __construct( private array $tokens, private ?Source $source = null, ) { if (null === $this->source) { trigger_deprecation('twig/twig', '3.16', \sprintf('Not passing a "%s" object to "%s" constructor is deprecated.', Source::class, __CLASS__)); $this->source = new Source('', ''); } } public function __toString(): string { return implode("\n", $this->tokens); } /** * @return void */ public function injectTokens(array $tokens) { $this->tokens = array_merge(\array_slice($this->tokens, 0, $this->current), $tokens, \array_slice($this->tokens, $this->current)); } /** * Sets the pointer to the next token and returns the old one. */ public function next(): Token { if (!isset($this->tokens[++$this->current])) { throw new SyntaxError('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(), $this->source); } return $this->tokens[$this->current - 1]; } /** * Tests a token, sets the pointer to the next one and returns it or throws a syntax error. * * @return Token|null The next token if the condition is true, null otherwise */ public function nextIf($primary, $secondary = null) { return $this->tokens[$this->current]->test($primary, $secondary) ? $this->next() : null; } /** * Tests a token and returns it or throws a syntax error. */ public function expect($type, $value = null, ?string $message = null): Token { $token = $this->tokens[$this->current]; if (!$token->test($type, $value)) { $line = $token->getLine(); throw new SyntaxError(\sprintf('%sUnexpected token "%s"%s ("%s" expected%s).', $message ? $message.'. ' : '', $token->toEnglish(), $token->getValue() ? \sprintf(' of value "%s"', $token->getValue()) : '', Token::typeToEnglish($type), $value ? \sprintf(' with value "%s"', $value) : ''), $line, $this->source ); } $this->next(); return $token; } /** * Looks at the next token. */ public function look(int $number = 1): Token { if (!isset($this->tokens[$this->current + $number])) { throw new SyntaxError('Unexpected end of template.', $this->tokens[$this->current + $number - 1]->getLine(), $this->source); } return $this->tokens[$this->current + $number]; } /** * Tests the current token. */ public function test($primary, $secondary = null): bool { return $this->tokens[$this->current]->test($primary, $secondary); } /** * Checks if end of stream was reached. */ public function isEOF(): bool { return $this->tokens[$this->current]->test(Token::EOF_TYPE); } public function getCurrent(): Token { return $this->tokens[$this->current]; } public function getSourceContext(): Source { return $this->source; } }