js-slang
Version:
Javascript-based implementations of Source, written in Typescript
14 lines (13 loc) • 429 B
TypeScript
import * as es from 'estree';
import { ErrorSeverity, ErrorType, Rule, SourceError } from '../../../types';
export declare class NoEval implements SourceError {
node: es.Identifier;
type: ErrorType;
severity: ErrorSeverity;
constructor(node: es.Identifier);
get location(): es.SourceLocation;
explain(): string;
elaborate(): string;
}
declare const noEval: Rule<es.Identifier>;
export default noEval;