Parle Parle\ErrorInfo 클래스

(PECL parle >= 0.5.2)


소개

클래스는 Parle\Parser::errorInfo()에서 제공하는 자세한 오류 정보를 나타냅니다.


클래스 개요

                  
class Parle\ErrorInfo {

  /* Properties */
  public int $id;
  public int $position;
  public mixed $token;

  /* Methods */
}
                  
                

Properties

id
Error id.
position
입력에서 오류가 발생한 위치입니다.
token
해당하는 경우 - 오류와 관련된 Parle\Token, 그렇지 않으면 null입니다.