@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
11 lines (10 loc) • 657 B
TypeScript
import { type DataflowInformation } from '../../info';
import type { DataflowProcessorInformation } from '../../processor';
import type { RSymbol } from '../../../r-bridge/lang-4.x/ast/model/nodes/r-symbol';
import type { ParentInformation } from '../../../r-bridge/lang-4.x/ast/model/processing/decorate';
/**
* Process a symbol node in the AST for dataflow analysis.
* If the symbol is `NULL` or `NA`, it is processed as a value.
* Otherwise, it is treated as an unknown reference.
*/
export declare function processSymbol<OtherInfo>(symbol: RSymbol<OtherInfo & ParentInformation>, data: DataflowProcessorInformation<OtherInfo>): DataflowInformation;