UNPKG

@ng-doc/builder

Version:

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>

28 lines 1.13 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.JSDoc = void 0; const js_doc_action_1 = require("./actions/js-doc.action"); const js_doc_has_tag_action_1 = require("./actions/js-doc-has-tag.action"); const js_doc_tag_action_1 = require("./actions/js-doc-tag.action"); const js_doc_tags_action_1 = require("./actions/js-doc-tags.action"); const base_action_1 = require("./base-action"); /** * @see 1 * @see 2 */ class JSDoc extends base_action_1.BaseAction { description(declarationPath) { return this.perform((0, js_doc_action_1.jsDocAction)(declarationPath)).output; } tag(declarationPath, tagName) { return this.perform((0, js_doc_tag_action_1.jsDocTagAction)(declarationPath, tagName)).output; } tags(declarationPath, tagName) { return this.perform((0, js_doc_tags_action_1.jsDocTagsAction)(declarationPath, tagName)).output; } hasTag(declarationPath, tagName) { return this.perform((0, js_doc_has_tag_action_1.jsDocHasTagAction)(declarationPath, tagName)).output; } } exports.JSDoc = JSDoc; //# sourceMappingURL=js-doc.js.map