(tNode: TNode, childQueryIndex: number)
| 213 | } |
| 214 | |
| 215 | embeddedTView(tNode: TNode, childQueryIndex: number): TQuery | null { |
| 216 | if (this.isApplyingToNode(tNode)) { |
| 217 | this.crossesNgTemplate = true; |
| 218 | // A marker indicating a `<ng-template>` element (a placeholder for query results from |
| 219 | // embedded views created based on this `<ng-template>`). |
| 220 | this.addMatch(-tNode.index, childQueryIndex); |
| 221 | return new TQuery_(this.metadata); |
| 222 | } |
| 223 | return null; |
| 224 | } |
| 225 | |
| 226 | private isApplyingToNode(tNode: TNode): boolean { |
| 227 | if ( |
nothing calls this directly
no test coverage detected