@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
12 lines (11 loc) • 736 B
TypeScript
import { type REnvironmentInformation } from './environment';
/**
* Add a new local environment scope to the stack, returns the modified variant - sharing the original environments in the stack (no deep-clone)
* @see {@link popLocalEnvironment} - to remove the local scope again
*/
export declare function pushLocalEnvironment({ level, current }: REnvironmentInformation): REnvironmentInformation;
/**
* Remove the top local environment scope from the stack, returns the modified variant - sharing the original environments in the stack (no deep-clone)
* @see {@link pushLocalEnvironment} - to add a local scope
*/
export declare function popLocalEnvironment({ current, level }: REnvironmentInformation): REnvironmentInformation;