UNPKG

yoastseo

Version:

Yoast client-side content analysis

29 lines (28 loc) 919 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 paragraph with text within a document. * * @extends module:parsedPaper/structure.LeafNode * * @memberOf module:parsedPaper/structure */ class Paragraph extends _LeafNode.default { /** * A paragraph within a document. * * @param {Object} sourceCodeLocation The parse5 formatted location of the element inside of the source code. * @param {boolean} [isImplicit=false] If this paragraph is implicit. */ constructor(sourceCodeLocation, isImplicit = false) { super("Paragraph", sourceCodeLocation); this.isImplicit = isImplicit; } } var _default = exports.default = Paragraph; //# sourceMappingURL=Paragraph.js.map