(thing: TemplateEntity)
| 475 | } |
| 476 | |
| 477 | private maybeDeclare(thing: TemplateEntity) { |
| 478 | // Declare something with a name, as long as that name isn't taken. |
| 479 | if (!this.namedEntities.has(thing.name)) { |
| 480 | this.namedEntities.set(thing.name, thing); |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | /** |
| 485 | * Look up a variable within this `Scope`. |
no test coverage detected