UNPKG

js-slang

Version:

Javascript-based implementations of Source, written in Typescript

14 lines (13 loc) 462 B
import * as es from 'estree'; import { ErrorSeverity, ErrorType, Rule, SourceError } from '../../../types'; export declare class NoUnspecifiedLiteral implements SourceError { node: es.Literal; type: ErrorType; severity: ErrorSeverity; constructor(node: es.Literal); get location(): es.SourceLocation; explain(): string; elaborate(): string; } declare const noUnspecifiedLiteral: Rule<es.Literal>; export default noUnspecifiedLiteral;