REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 1021 B
Close
//proc/thread-self/root/home/getspomw/itechservicellc.com/vendor/doctrine/lexer/src/Token.php
Text
Base64
<?php declare(strict_types=1); namespace Doctrine\Common\Lexer; use UnitEnum; use function in_array; /** * @template T of UnitEnum|string|int * @template V of string|int */ final class Token { /** * The string value of the token in the input string * * @readonly * @var V */ public string|int $value; /** * The type of the token (identifier, numeric, string, input parameter, none) * * @readonly * @var T|null */ public $type; /** * The position of the token in the input string * * @readonly */ public int $position; /** * @param V $value * @param T|null $type */ public function __construct(string|int $value, $type, int $position) { $this->value = $value; $this->type = $type; $this->position = $position; } /** @param T ...$types */ public function isA(...$types): bool { return in_array($this->type, $types, true); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AbstractLexer.php
7.27 KB
lrw-r--r--
2025-10-28 20:21:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Token.php
1021 B
lrw-r--r--
2025-10-28 20:21:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).