The Parle\ErrorInfo class

はじめに

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

クラス概要

Parle\ErrorInfo
class Parle\ErrorInfo {
/* プロパティ */
public int $id;
public int $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.