@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
23 lines (22 loc) • 1.07 kB
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';
/**
* The plugin provides support for Quarto R Markdown (`.qmd`) files
*/
export declare class FlowrAnalyzerQmdFilePlugin extends FlowrAnalyzerFilePlugin {
readonly name = "qmd-file-plugin";
readonly description = "Parses Quarto R Markdown files";
readonly version: SemVer;
private readonly pattern;
/**
* Creates a new instance of the Quarto R Markdown file plugin.
* @param filePattern - The pattern to identify Quarto R Markdown files, see {@link QmdPattern} for the default pattern.
*/
constructor(filePattern?: RegExp);
applies(file: PathLike): boolean;
protected process(_ctx: FlowrAnalyzerContext, arg: FlowrFileProvider<string>): FlowrRMarkdownFile;
}