@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
17 lines (16 loc) • 1.18 kB
TypeScript
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';
import type { DataflowGraph } from '../../../../graph/graph';
/**
* Marks the given function call node as only calling built-in functions.
*/
export declare function markAsOnlyBuiltIn(graph: DataflowGraph, rootId: NodeId): void;
/**
* Processes a named function call within the dataflow analysis.
* For example, `myFunction(arg1, arg2)`, resolves against the environment.
*/
export declare function processNamedCall<OtherInfo>(name: RSymbol<OtherInfo & ParentInformation>, args: readonly RFunctionArgument<OtherInfo & ParentInformation>[], rootId: NodeId, data: DataflowProcessorInformation<OtherInfo & ParentInformation>): DataflowInformation;