@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
15 lines (14 loc) • 795 B
TypeScript
import { FlowrAnalyzerPackageVersionsPlugin } from './flowr-analyzer-package-versions-plugin';
import { SemVer } from 'semver';
import type { FlowrAnalyzerContext } from '../../context/flowr-analyzer-context';
/**
* This plugin extracts package versions from R `DESCRIPTION` files.
* It looks at the `Depends` and `Imports` fields to find package names and their version constraints.
*/
export declare class FlowrAnalyzerPackageVersionsDescriptionFilePlugin extends FlowrAnalyzerPackageVersionsPlugin {
readonly name = "flowr-analyzer-package-version-description-file-plugin";
readonly description = "This plugin extracts package versions from R DESCRIPTION files.";
readonly version: SemVer;
process(ctx: FlowrAnalyzerContext): void;
private retrieveVersionsFromField;
}