UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

14 lines (13 loc) 1.03 kB
import { type DataflowProcessorInformation } from '../../../../../processor'; import { DataflowInformation } from '../../../../../info'; import { type ParentInformation } from '../../../../../../r-bridge/lang-4.x/ast/model/processing/decorate'; import { type RFunctionArgument } from '../../../../../../r-bridge/lang-4.x/ast/model/nodes/r-function-call'; import type { RSymbol } from '../../../../../../r-bridge/lang-4.x/ast/model/nodes/r-symbol'; import type { NodeId } from '../../../../../../r-bridge/lang-4.x/ast/model/processing/node-id'; /** * Process a call to `eval()`, trying to resolve the code being evaluated if possible. */ export declare function processEvalCall<OtherInfo>(name: RSymbol<OtherInfo & ParentInformation>, args: readonly RFunctionArgument<OtherInfo & ParentInformation>[], rootId: NodeId, data: DataflowProcessorInformation<OtherInfo & ParentInformation>, config: { /** should this produce an explicit source function call in the graph? */ includeFunctionCall?: boolean; }): DataflowInformation;