* Process a template (either as a `Template` sub-template with variables, or a plain array of * template `Node`s) and construct its `Scope`.
(template: ScopedNode | Node[])
| 323 | * template `Node`s) and construct its `Scope`. |
| 324 | */ |
| 325 | static apply(template: ScopedNode | Node[]): Scope { |
| 326 | const scope = Scope.newRootScope(); |
| 327 | scope.ingest(template); |
| 328 | return scope; |
| 329 | } |
| 330 | |
| 331 | /** |
| 332 | * Internal method to process the scoped node and populate the `Scope`. |
nothing calls this directly
no test coverage detected