1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class ReflectionGroup {
|
4 | constructor(title, kind) {
|
5 | this.children = [];
|
6 | this.title = title;
|
7 | this.kind = kind;
|
8 | this.allChildrenHaveOwnDocument = (() => this.getAllChildrenHaveOwnDocument());
|
9 | }
|
10 | getAllChildrenHaveOwnDocument() {
|
11 | let onlyOwnDocuments = true;
|
12 | this.children.forEach((child) => {
|
13 | onlyOwnDocuments = onlyOwnDocuments && !!child.hasOwnDocument;
|
14 | });
|
15 | return onlyOwnDocuments;
|
16 | }
|
17 | }
|
18 | exports.ReflectionGroup = ReflectionGroup;
|
19 |
|
\ | No newline at end of file |