UNPKG

js-slang

Version:

Javascript-based implementations of Source, written in Typescript

7 lines (6 loc) 394 B
import type es from 'estree'; import { Context, substituterNodes } from '../types'; export declare function valueToExpression(value: any, context?: Context): es.Expression; export declare function nodeToValue(node: substituterNodes): any; export declare function nodeToValueWithContext(node: substituterNodes, context: Context): any; export declare function objectToString(value: any): string;