메소드 |
설명 |
|
__construct ( string $message, array | integer $attributes = [] ) |
Creates an Exception signifying a parse error. |
|
getAttributes ( ) : array |
Gets the attributes of the node/token the error occurred at. |
|
getEndColumn ( string $code ) : integer |
Gets the end column (1-based) into the line where the error ended. |
|
getEndLine ( ) : integer |
Gets the line the error ends in. |
|
getMessageWithColumnInfo ( $code ) |
|
|
getRawMessage ( ) : string |
Gets the error message |
|
getStartColumn ( string $code ) : integer |
Gets the start column (1-based) into the line where the error started. |
|
getStartLine ( ) : integer |
Gets the line the error starts in. |
|
hasColumnInfo ( ) : boolean |
Returns whether the error has start and end column information. |
|
setAttributes ( array $attributes ) |
Sets the attributes of the node/token the error occured at. |
|
setRawMessage ( string $message ) |
Sets the line of the PHP file the error occurred in. |
|
setStartLine ( integer $line ) |
Sets the line the error starts in. |
|