Interface: TracebackMetadata
errors.TracebackMetadata
The interface representing the traceback data for a KipperError.
Since
0.9.0
Table of contents
Properties
Properties
errorNode
• errorNode: undefined
| CompilableASTNode
<SemanticData
, TypeData
>
The AST Node that caused the error.
Since
0.10.0
Defined in
kipper/core/src/errors.ts:42
filePath
• filePath: undefined
| string
The path to the file where the error occurred.
Since
0.3.0
Defined in
kipper/core/src/errors.ts:27
location
• location: Object
The line and column of the error.
Since
0.3.0
Type declaration
Name | Type |
---|---|
col |
undefined | number |
line |
undefined | number |
Defined in
kipper/core/src/errors.ts:22
streamSrc
• streamSrc: undefined
| KipperFileStream
The token stream (source code) of the program.
Since
0.8.0
Defined in
kipper/core/src/errors.ts:37
tokenSrc
• tokenSrc: undefined
| string
The line of code that caused this error.
Since
0.4.0
Defined in
kipper/core/src/errors.ts:32