class ParserException extends Exception (View source)

Exception thrown by the parser.

Properties

Token|null $token

The token that produced this error.

Methods

__construct(string $msg, Token|null $token, int $code = 0)

No description

Details

__construct(string $msg, Token|null $token, int $code = 0)

No description

Parameters

string $msg

the message of this exception

Token|null $token

the token that produced this exception

int $code

the code of this error