略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Parle\ErrorInfo

2024-11-12

The Parle\ErrorInfo class

(PECL parle >= 0.5.2)

简介

The class represents detailed error information as supplied by Parle\Parser::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.

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.parle-errorinfo.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3