GrammarError
Represents a grammar error.
Tags
Table of Contents
- $errorCode : int
- Error code associated with the grammar error.
- $errorLength : int
- Length of the error in characters.
- $shortDescription : string
- Localized short description of the grammar error.
- $startPosition : int
- Start position of the error in characters.
- $suggestions : array<string|int, mixed>
- Suggestions for correcting the grammar error.
Properties
$errorCode
Error code associated with the grammar error.
public
int
$errorCode
$errorLength
Length of the error in characters.
public
int
$errorLength
$shortDescription
Localized short description of the grammar error.
public
string
$shortDescription
$startPosition
Start position of the error in characters.
public
int
$startPosition
$suggestions
Suggestions for correcting the grammar error.
public
array<string|int, mixed>
$suggestions