UNPKG

calcium-lang

Version:
11 lines (10 loc) 342 B
import Environment from "../runtime/environment"; import { Expression } from "../expression"; import { InternalType } from "../type"; /** * a utility function that applies `evaluate` method to the expression * @param target * @param env * @returns */ export default function evaluate(target: Expression, env: Environment): InternalType;