UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

17 lines (16 loc) 1.17 kB
import type { DataflowProcessorInformation } from '../../../../../processor'; import type { DataflowInformation } from '../../../../../info'; import type { ForceArguments } from '../common'; import type { ParentInformation } from '../../../../../../r-bridge/lang-4.x/ast/model/processing/decorate'; import type { RSymbol } from '../../../../../../r-bridge/lang-4.x/ast/model/nodes/r-symbol'; import { type RFunctionArgument } from '../../../../../../r-bridge/lang-4.x/ast/model/nodes/r-function-call'; import type { NodeId } from '../../../../../../r-bridge/lang-4.x/ast/model/processing/node-id'; import type { ContainerIndicesCollection } from '../../../../../graph/vertex'; export declare function processReplacementFunction<OtherInfo>(name: RSymbol<OtherInfo & ParentInformation>, /** The last one has to be the value */ args: readonly RFunctionArgument<OtherInfo & ParentInformation>[], rootId: NodeId, data: DataflowProcessorInformation<OtherInfo & ParentInformation>, config: { makeMaybe?: boolean; assignmentOperator?: '<-' | '<<-'; readIndices?: boolean; activeIndices?: ContainerIndicesCollection; } & ForceArguments): DataflowInformation;