phpday 2027 - Call for Papers

The Parle\ErrorInfo class

(PECL parle >= 0.5.2)

Introduction

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

Class synopsis

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

Properties

id

Error id.

position

Position in the input, where the error occurred.

token

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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top