UNPKG

angel-eval

Version:

A conditional expression parser and interpreter.

21 lines (17 loc) 383 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; class Evaluatable { /** * Evaluates with the given context. * * @param {{ [key: string]: any }} [context] */ evaluate(context) { throw new Error("the evaluate method needs to be implemented"); } } var _default = Evaluatable; exports.default = _default;