__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace PhpMyAdmin\SqlParser;
use Exception;
/**
* Defines the core helper infrastructure of the library.
*/
class Core
{
/**
* Whether errors should throw exceptions or just be stored.
*
* @see static::$errors
*
* @var bool
*/
public $strict = false;
/**
* List of errors that occurred during lexing.
*
* Usually, the lexing does not stop once an error occurred because that
* error might be false positive or a partial result (even a bad one)
* might be needed.
*
* @see Core::error()
*
* @var Exception[]
*/
public $errors = [];
/**
* Creates a new error log.
*
* @param Exception $error the error exception
*
* @return void
*
* @throws Exception throws the exception, if strict mode is enabled.
*/
public function error($error)
{
if ($this->strict) {
throw $error;
}
$this->errors[] = $error;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Components | Folder | 0755 |
|
|
| Contexts | Folder | 0755 |
|
|
| Exceptions | Folder | 0755 |
|
|
| Statements | Folder | 0755 |
|
|
| Tools | Folder | 0755 |
|
|
| Utils | Folder | 0755 |
|
|
| Component.php | File | 2.13 KB | 0644 |
|
| Context.php | File | 26 KB | 0644 |
|
| Core.php | File | 1.01 KB | 0644 |
|
| Lexer.php | File | 35.2 KB | 0644 |
|
| Parser.php | File | 21.95 KB | 0644 |
|
| Statement.php | File | 18.14 KB | 0644 |
|
| Token.php | File | 9.64 KB | 0644 |
|
| TokensList.php | File | 6.17 KB | 0644 |
|
| Translator.php | File | 1.61 KB | 0644 |
|
| UtfString.php | File | 10.3 KB | 0644 |
|
| autoload.php | File | 9.52 KB | 0644 |
|