UNPKG

640 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3class 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}
18exports.ReflectionGroup = ReflectionGroup;
19//# sourceMappingURL=ReflectionGroup.js.map
\No newline at end of file