UNPKG

yoastseo

Version:

Yoast client-side content analysis

31 lines (30 loc) 826 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _LeafNode = _interopRequireDefault(require("./LeafNode")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } /** * Represents a text within the metadata tree branch. * * @extends module:parsedPaper/structure.LeafNode * * @memberOf module:parsedPaper/structure */ class MetadataText extends _LeafNode.default { /** * Creates a new MetadataText node. * * @param {string} type The type of this node. * @param {string} text The text of this node. * * @constructor */ constructor(type = "MetadataText", text = "") { super(type, null); this.text = text; } } var _default = exports.default = MetadataText; //# sourceMappingURL=MetadataText.js.map