UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

15 lines 558 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cloneEnvironmentInformation = cloneEnvironmentInformation; /** * Produce a clone of the given environment information. * @param environment - The environment information to clone. * @param recurseParents - Whether to clone the parent environments as well. */ function cloneEnvironmentInformation({ current, level }, recurseParents = true) { return { current: current.clone(recurseParents), level }; } //# sourceMappingURL=clone.js.map