(template: Template)
| 369 | } |
| 370 | |
| 371 | visitTemplate(template: Template) { |
| 372 | template.directives.forEach((node) => node.visit(this)); |
| 373 | |
| 374 | // References on a <ng-template> are defined in the outer scope, so capture them before |
| 375 | // processing the template's child scope. |
| 376 | template.references.forEach((node) => this.visitReference(node)); |
| 377 | |
| 378 | // Next, create an inner scope and process the template within it. |
| 379 | this.ingestScopedNode(template); |
| 380 | } |
| 381 | |
| 382 | visitVariable(variable: Variable) { |
| 383 | // Declare the variable if it's not already. |
nothing calls this directly
no test coverage detected