class LexerException extends Exception (View source)

Exception thrown by the lexer.

Properties

string $ch

The character that produced this error.

int $pos

The index of the character that produced this error.

Methods

__construct(string $msg = '', string $ch = '', int $pos = 0, int $code = 0)

No description

Details

__construct(string $msg = '', string $ch = '', int $pos = 0, int $code = 0)

No description

Parameters

string $msg

the message of this exception

string $ch

the character that produced this exception

int $pos

the position of the character

int $code

the code of this error