The Parle\ErrorInfo class

(PECL parle >= 0.5.2)

Giriş

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

Sınıf Sözdizimi

class Parle\ErrorInfo {
/* Özellikler */
public int $id;
public int $position;
public mixed $token;
/* Yöntemler */
}

Özellikler

id

Error id.

position

Position in the input, where the error occurred.

token

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top