@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
16 lines (15 loc) • 1.05 kB
TypeScript
import { type DataflowProcessorInformation } from '../../../processor';
import { type DataflowInformation } from '../../../info';
import type { ParentInformation } from '../../../../r-bridge/lang-4.x/ast/model/processing/decorate';
import { RNode } from '../../../../r-bridge/lang-4.x/ast/model/model';
import type { IdentifierReference } from '../../../environments/identifier';
import { DataflowGraph } from '../../../graph/graph';
import type { RArgument } from '../../../../r-bridge/lang-4.x/ast/model/nodes/r-argument';
/**
* Links all reads that occur before the argument to the argument root node.
*/
export declare function linkReadsForArgument<OtherInfo>(root: RNode<OtherInfo & ParentInformation>, ingoingRefs: readonly IdentifierReference[], graph: DataflowGraph): void;
/**
* Processes the dataflow information for a function argument.
*/
export declare function processFunctionArgument<OtherInfo>(argument: RArgument<OtherInfo & ParentInformation>, data: DataflowProcessorInformation<OtherInfo & ParentInformation>): DataflowInformation;