1 | var __extends = (this && this.__extends) || (function () {
|
2 | var extendStatics = function (d, b) {
|
3 | extendStatics = Object.setPrototypeOf ||
|
4 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6 | return extendStatics(d, b);
|
7 | };
|
8 | return function (d, b) {
|
9 | extendStatics(d, b);
|
10 | function __() { this.constructor = d; }
|
11 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12 | };
|
13 | })();
|
14 | import { DocNodeKind } from './DocNode';
|
15 | import { DocNodeContainer } from './DocNodeContainer';
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | var DocParagraph = (function (_super) {
|
22 | __extends(DocParagraph, _super);
|
23 | |
24 |
|
25 |
|
26 |
|
27 | function DocParagraph(parameters, childNodes) {
|
28 | return _super.call(this, parameters, childNodes) || this;
|
29 | }
|
30 | Object.defineProperty(DocParagraph.prototype, "kind", {
|
31 |
|
32 | get: function () {
|
33 | return DocNodeKind.Paragraph;
|
34 | },
|
35 | enumerable: false,
|
36 | configurable: true
|
37 | });
|
38 | return DocParagraph;
|
39 | }(DocNodeContainer));
|
40 | export { DocParagraph };
|
41 |
|
\ | No newline at end of file |