init web ems all
This commit is contained in:
46
phpMyAdmin/vendor/phpmyadmin/sql-parser/src/Exceptions/LexerException.php
vendored
Executable file
46
phpMyAdmin/vendor/phpmyadmin/sql-parser/src/Exceptions/LexerException.php
vendored
Executable file
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Exception thrown by the lexer.
|
||||
*/
|
||||
|
||||
namespace PhpMyAdmin\SqlParser\Exceptions;
|
||||
|
||||
/**
|
||||
* Exception thrown by the lexer.
|
||||
*
|
||||
* @category Exceptions
|
||||
*
|
||||
* @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+
|
||||
*/
|
||||
class LexerException extends \Exception
|
||||
{
|
||||
/**
|
||||
* The character that produced this error.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $ch;
|
||||
|
||||
/**
|
||||
* The index of the character that produced this error.
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public $pos;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $msg the message of this exception
|
||||
* @param string $ch the character that produced this exception
|
||||
* @param int $pos the position of the character
|
||||
* @param int $code the code of this error
|
||||
*/
|
||||
public function __construct($msg = '', $ch = '', $pos = 0, $code = 0)
|
||||
{
|
||||
parent::__construct($msg, $code);
|
||||
$this->ch = $ch;
|
||||
$this->pos = $pos;
|
||||
}
|
||||
}
|
||||
37
phpMyAdmin/vendor/phpmyadmin/sql-parser/src/Exceptions/LoaderException.php
vendored
Executable file
37
phpMyAdmin/vendor/phpmyadmin/sql-parser/src/Exceptions/LoaderException.php
vendored
Executable file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Exception thrown by the lexer.
|
||||
*/
|
||||
|
||||
namespace PhpMyAdmin\SqlParser\Exceptions;
|
||||
|
||||
/**
|
||||
* Exception thrown by the lexer.
|
||||
*
|
||||
* @category Exceptions
|
||||
*
|
||||
* @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+
|
||||
*/
|
||||
class LoaderException extends \Exception
|
||||
{
|
||||
/**
|
||||
* The failed load name.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $name;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $msg the message of this exception
|
||||
* @param string $name the character that produced this exception
|
||||
* @param int $code the code of this error
|
||||
*/
|
||||
public function __construct($msg = '', $name = '', $code = 0)
|
||||
{
|
||||
parent::__construct($msg, $code);
|
||||
$this->name = $name;
|
||||
}
|
||||
}
|
||||
39
phpMyAdmin/vendor/phpmyadmin/sql-parser/src/Exceptions/ParserException.php
vendored
Executable file
39
phpMyAdmin/vendor/phpmyadmin/sql-parser/src/Exceptions/ParserException.php
vendored
Executable file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Exception thrown by the parser.
|
||||
*/
|
||||
|
||||
namespace PhpMyAdmin\SqlParser\Exceptions;
|
||||
|
||||
use PhpMyAdmin\SqlParser\Token;
|
||||
|
||||
/**
|
||||
* Exception thrown by the parser.
|
||||
*
|
||||
* @category Exceptions
|
||||
*
|
||||
* @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+
|
||||
*/
|
||||
class ParserException extends \Exception
|
||||
{
|
||||
/**
|
||||
* The token that produced this error.
|
||||
*
|
||||
* @var Token
|
||||
*/
|
||||
public $token;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $msg the message of this exception
|
||||
* @param Token $token the token that produced this exception
|
||||
* @param int $code the code of this error
|
||||
*/
|
||||
public function __construct($msg = '', Token $token = null, $code = 0)
|
||||
{
|
||||
parent::__construct($msg, $code);
|
||||
$this->token = $token;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user