Constructor
new BareScriptParserError(error, line, columnNumberopt, lineNumberopt, nullable, prefixopt, nullable)
Create a BareScript parser error
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
error |
string | The error description |
||
line |
string | The line text |
||
columnNumber |
number |
<optional> |
1 | The error column number |
lineNumber |
number |
<optional> <nullable> |
null | The error line number |
prefix |
string |
<optional> <nullable> |
null | The error message prefix line |
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
error |
string | The error description |
|
line |
string | The line text |
|
columnNumber |
number | The error column number |
|
lineNumber |
number |
<nullable> |
The error line number |
Extends
- Error