REDROOM
PHP 7.4.33
Path:
Logout
Edit File
Size: 1.14 KB
Close
/home/godevadmin/www/admin/vendor/aws/JmesPath/SyntaxErrorException.php
Text
Base64
<?php namespace JmesPath; /** * Syntax errors raise this exception that gives context */ class SyntaxErrorException extends \InvalidArgumentException { /** * @param string $expectedTypesOrMessage Expected array of tokens or message * @param array $token Current token * @param string $expression Expression input */ public function __construct( $expectedTypesOrMessage, array $token, $expression ) { $message = "Syntax error at character {$token['pos']}\n" . $expression . "\n" . str_repeat(' ', max($token['pos'], 0)) . "^\n"; $message .= !is_array($expectedTypesOrMessage) ? $expectedTypesOrMessage : $this->createTokenMessage($token, $expectedTypesOrMessage); parent::__construct($message); } private function createTokenMessage(array $token, array $valid) { return sprintf( 'Expected one of the following: %s; found %s "%s"', implode(', ', array_keys($valid)), $token['type'], $token['value'] ); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 12
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AstRuntime.php
1.47 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CompilerRuntime.php
2.64 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DebugRuntime.php
3.22 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Env.php
2.51 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
FnDispatcher.php
12.58 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
JmesPath.php
390 B
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Lexer.php
15.34 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Parser.php
14.40 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
SyntaxErrorException.php
1.14 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
TreeCompiler.php
13.18 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
TreeInterpreter.php
7.88 KB
lrwxrwxr-x
2024-06-18 20:12:08
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Utils.php
7.52 KB
lrwxrwxr-x
2024-06-18 20:12:08
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).