PHP Class SqlParser\Exceptions\ParserException

Inheritance: extends Exception
显示文件 Open project: phpmyadmin/sql-parser

Public Properties

Property Type Description
$token SqlParser\Token The token that produced this error.

Public Methods

Method Description
__construct ( string $msg = '', Token $token = null, integer $code ) Constructor.

Method Details

__construct() public method

Constructor.
public __construct ( string $msg = '', Token $token = null, integer $code )
$msg string The message of this exception.
$token SqlParser\Token The token that produced this exception.
$code integer The code of this error.

Property Details

$token public_oe property

The token that produced this error.
public Token,SqlParser $token
return SqlParser\Token