(context: InclusionContext, includeChildrenRecursively: IncludeChildren)
| 165 | } |
| 166 | |
| 167 | include(context: InclusionContext, includeChildrenRecursively: IncludeChildren): void { |
| 168 | this.included = true; |
| 169 | const usedBranch = this.getUsedBranch(); |
| 170 | if (usedBranch === null || includeChildrenRecursively || this.test.shouldBeIncluded(context)) { |
| 171 | this.test.include(context, includeChildrenRecursively); |
| 172 | this.consequent.include(context, includeChildrenRecursively); |
| 173 | this.alternate.include(context, includeChildrenRecursively); |
| 174 | } else { |
| 175 | usedBranch.include(context, includeChildrenRecursively); |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | includePath(path: ObjectPath, context: InclusionContext): void { |
| 180 | this.included = true; |
nothing calls this directly
no test coverage detected