UNPKG

@eagleoutice/flowr-dev

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

22 lines 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FlowrAnalyzerRmdFilePlugin = exports.RmdPattern = void 0; const flowr_analyzer_rmarkdown_file_plugin_1 = require("./flowr-analyzer-rmarkdown-file-plugin"); /* `.Rmarkdown` is the knitr-only variant used by blogdown and quarto */ exports.RmdPattern = /\.(rmd|rmarkdown)$/i; /** * The plugin provides support for R Markdown (`.rmd`) files */ class FlowrAnalyzerRmdFilePlugin extends flowr_analyzer_rmarkdown_file_plugin_1.FlowrAnalyzerRMarkdownFilePlugin { name = 'rmd-file-plugin'; description = 'Parses R Markdown files'; /** * Creates a new instance of the R Markdown file plugin. * @param filePattern - The pattern to identify R Markdown files, see {@link RmdPattern} for the default pattern. */ constructor(filePattern = exports.RmdPattern) { super(filePattern); } } exports.FlowrAnalyzerRmdFilePlugin = FlowrAnalyzerRmdFilePlugin; //# sourceMappingURL=flowr-analyzer-rmd-file-plugin.js.map