( id: Node, kind: BindingKind, declaration: Node, parent: Node, scope = this.scope )
| 576 | } |
| 577 | |
| 578 | private bind( |
| 579 | id: Node, |
| 580 | kind: BindingKind, |
| 581 | declaration: Node, |
| 582 | parent: Node, |
| 583 | scope = this.scope |
| 584 | ): void { |
| 585 | id.parent = parent |
| 586 | this.bindName( |
| 587 | (id as IdentifierReference).name, |
| 588 | id, |
| 589 | kind, |
| 590 | declaration, |
| 591 | scope |
| 592 | ) |
| 593 | } |
| 594 | |
| 595 | private bindName( |
| 596 | name: string, |