The Parle\ErrorInfo class

Introduction

(PECL parle >= 0.5.2)

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

Class synopsis

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.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.parle-errorinfo.php