UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

13 lines (12 loc) 878 B
import type { DataflowGraph } from '../../../dataflow/graph/graph'; import type { RNode } from '../../../r-bridge/lang-4.x/ast/model/model'; import type { ParentInformation } from '../../../r-bridge/lang-4.x/ast/model/processing/decorate'; import type { DataFrameExpressionInfo } from '../absint-info'; /** * Maps a concrete data frame replacement function to abstract data frame operations. * * @param node - The R node of the replacement function * @param dfg - The data flow graph for resolving the arguments * @returns Data frame expression info containing the mapped abstract data frame operations, or `undefined` if the node does not represent a data frame replacement function */ export declare function mapDataFrameReplacementFunction(node: RNode<ParentInformation>, expression: RNode<ParentInformation>, dfg: DataflowGraph): DataFrameExpressionInfo | undefined;