@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
10 lines (9 loc) • 445 B
TypeScript
import type { REnvironmentInformation } from './environment';
import { Identifier, type IdentifierDefinition } from './identifier';
/**
* Define an identifier in the environment, possibly as a super assignment.
* This recalculates the level
*/
export declare function define(definition: IdentifierDefinition & {
name: Identifier;
}, superAssign: boolean | undefined, { level, current }: REnvironmentInformation): REnvironmentInformation;