Php/docs/class.parle-errorinfo

提供:Dev Guides
< Php
2020年12月14日 (月) 11:46時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

(PECL parle >= 0.5.2)

はじめに

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


クラス概要


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.