UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

27 lines (25 loc) 1.04 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const manipulation_1 = require("./../../manipulation"); const callBaseFill_1 = require("./../callBaseFill"); const common_1 = require("./../common"); const base_1 = require("./../base"); exports.PropertySignatureBase = base_1.DocumentationableNode(base_1.ReadonlyableNode(base_1.QuestionTokenableNode(base_1.InitializerExpressionableNode(base_1.TypedNode(base_1.PropertyNamedNode(base_1.ModifierableNode(common_1.Node))))))); class PropertySignature extends exports.PropertySignatureBase { /** * Fills the node from a structure. * @param structure - Structure to fill. */ fill(structure) { callBaseFill_1.callBaseFill(exports.PropertySignatureBase.prototype, this, structure); return this; } /** * Removes this property signature. */ remove() { manipulation_1.removeInterfaceMember(this); } } exports.PropertySignature = PropertySignature; //# sourceMappingURL=PropertySignature.js.map