ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
23 lines (21 loc) • 525 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const manipulation_1 = require("./../../manipulation");
const common_1 = require("./../common");
/**
* A js doc node.
*/
class JSDoc extends common_1.Node {
/**
* Removes this JSDoc.
*/
remove() {
manipulation_1.removeChildren({
children: [this],
removeFollowingSpaces: true,
removeFollowingNewLines: true
});
}
}
exports.JSDoc = JSDoc;
//# sourceMappingURL=JSDoc.js.map