UNPKG

js-slang

Version:

Javascript-based implementations of Source, written in Typescript

11 lines (10 loc) 330 B
import * as es from 'estree'; import { ErrorSeverity, ErrorType, Node, SourceError } from '../types'; export declare class RuntimeSourceError implements SourceError { type: ErrorType; severity: ErrorSeverity; location: es.SourceLocation; constructor(node?: Node); explain(): string; elaborate(): string; }