Einführung
PHP Manual
PHP Manual»Parle»Parle\ErrorInfo

The Parle\ErrorInfo class

(PECL parle >= 0.5.2)

The class represents detailed error information as supplied by Parle\Parser::errorInfo()

class Parle\ErrorInfo {
/* Eigenschaften */
public int $id;
public int $position;
public mixed $token;
/* Methoden */
}
id

Error id.

position

Position in the input, where the error occurred.

token

If applicable - the Parle\Token related to the error, otherwise null.

To Top