UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

11 lines (10 loc) 724 B
import { type DataflowProcessorInformation } from '../../../../processor'; import type { DataflowInformation } from '../../../../info'; import type { RUnnamedFunctionCall } from '../../../../../r-bridge/lang-4.x/ast/model/nodes/r-function-call'; import type { ParentInformation } from '../../../../../r-bridge/lang-4.x/ast/model/processing/decorate'; export declare const UnnamedFunctionCallPrefix = "unnamed-fc-"; /** * Processes an unnamed function call. * For example `(function(x) { x + 1 })(5)` */ export declare function processUnnamedFunctionCall<OtherInfo>(functionCall: RUnnamedFunctionCall<OtherInfo & ParentInformation>, data: DataflowProcessorInformation<OtherInfo & ParentInformation>): DataflowInformation;