UNPKG

@zvenigora/jse-eval

Version:

JavaScript expression parsing and evaluation.

13 lines (12 loc) 804 B
import { Context, Options, Scope } from './types'; export declare class Utils { static getValue(obj: Context, name: string, options?: Options): unknown | undefined; static getScopePair(obj: unknown, name: string, options?: Options): [string | number, Scope] | undefined; private static getBindFunction; private static hasProperty; private static getScopedKeyValue; static getKeyValue(obj: Context, name: string | number, options?: Options): [string | number, unknown] | undefined; static getLiteralKeyValue(obj: Context, name: string, options?: Options): [string, unknown] | undefined; static blockListTest(obj: Context, name: string | number, options?: Options): void; static allowListTest(obj: Context, name: string | number, options?: Options): void; }