The Parle\ErrorInfo class

(PECL parle >= 0.5.2)

Введение

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

Обзор классов

Parle\ErrorInfo {
/* Свойства */
public integer $id ;
public integer $position ;
public mixed $token ;
/* Методы */
}

Свойства

id

Error id.

position

Position in the input, where the error occurred.

token

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