@eagleoutice/flowr-dev
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
17 lines (16 loc) • 823 B
TypeScript
import type { PathLike } from 'fs';
import { SemVer } from 'semver';
import type { FlowrAnalyzerContext } from '../../../context/flowr-analyzer-context';
import type { FlowrFileProvider } from '../../../context/flowr-file';
import { FlowrAnalyzerFilePlugin } from '../flowr-analyzer-file-plugin';
import { FlowrRMarkdownFile } from '../files/flowr-rmarkdown-file';
/**
* Common base of the plugins reading an R Markdown flavor, which differ only in the files they claim.
*/
export declare abstract class FlowrAnalyzerRMarkdownFilePlugin extends FlowrAnalyzerFilePlugin {
readonly version: SemVer;
private readonly pattern;
protected constructor(filePattern: RegExp);
applies(file: PathLike): boolean;
protected process(ctx: FlowrAnalyzerContext, arg: FlowrFileProvider<string>): FlowrRMarkdownFile;
}