« Parle\Token
Parle\LexerException »

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.

関連キーワード:
Parle   ErrorInfo   Token   プロパティ   position   token   LexerException   parle   represents   detailed   information   supplied   Parser   errorInfo   概要   mixed   Position   input   occurred   applicable   related   otherwise
関連する関数・ページ:
class.parle-token   parle-parser.errorinfo   parle-rparser.errorinfo   parle.setup   parle-rlexer.gettoken   parle-lexer.gettoken