@eagleoutice/flowr-dev
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
27 lines • 1.3 kB
JavaScript
;
/**
* The kind of project that flowR is analyzing.
*
* This lives in its own module as the configuration refers to it (see `FlowrConfig.specializeConfig`) and the
* files context, which classifies it, pulls in the config itself.
* @module
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProjectKind = void 0;
/** The kind of project that flowR is analyzing, see {@link FlowrAnalyzerFilesContext#projectKind}. */
var ProjectKind;
(function (ProjectKind) {
/** An R package (has a `DESCRIPTION` file that does not mark it as a {@link ProjectKind.ShinyApp}). */
ProjectKind["Package"] = "package";
/** A single R script. */
ProjectKind["Script"] = "script";
/** A Shiny application (`Type: shiny` in the `DESCRIPTION`, `app.R`, or `ui.R` with `server.R`). */
ProjectKind["ShinyApp"] = "shiny-app";
/** A notebook or literate document (`.ipynb`, `.Rmd`, `.qmd`, `.rnw`). */
ProjectKind["Notebook"] = "notebook";
/** A multi-file project that is not a package. */
ProjectKind["Project"] = "project";
/** The kind could not be determined (e.g. before the files are known). */
ProjectKind["Unknown"] = "unknown";
})(ProjectKind || (exports.ProjectKind = ProjectKind = {}));
//# sourceMappingURL=project-kind.js.map