UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

47 lines 1.32 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FlowrAnalyzerMetaContext = void 0; /** * This is the context responsible for managing the project metadata such as name, version, title, and namespace. * * If you are interested in inspecting this metadata, refer to {@link ReadOnlyFlowrAnalyzerMetaContext}. */ class FlowrAnalyzerMetaContext { name = 'flowr-analyzer-meta-context'; projectName; projectTitle; projectVersion; namespace; reset() { this.projectName = undefined; this.projectTitle = undefined; this.projectVersion = undefined; this.namespace = undefined; } setProjectName(name) { this.projectName = name; } getProjectName() { return this.projectName; } setProjectTitle(title) { this.projectTitle = title; } getProjectTitle() { return this.projectTitle; } setProjectVersion(version) { this.projectVersion = version; } getProjectVersion() { return this.projectVersion; } setNamespace(namespace) { this.namespace = namespace; } getNamespace() { return this.namespace; } } exports.FlowrAnalyzerMetaContext = FlowrAnalyzerMetaContext; //# sourceMappingURL=flowr-analyzer-meta-context.js.map