( id: IdentifierReference | JSXIdentifier, isWrite: boolean )
| 622 | } |
| 623 | |
| 624 | private reference( |
| 625 | id: IdentifierReference | JSXIdentifier, |
| 626 | isWrite: boolean |
| 627 | ): Reference { |
| 628 | const reference: Reference = { id, binding: undefined, isWrite } |
| 629 | this.references.push(reference) |
| 630 | this.byId.set(id, reference) |
| 631 | this.scope.unresolved.push(reference) |
| 632 | return reference |
| 633 | } |
| 634 | |
| 635 | bindingIn(node: Node | undefined, name: string): Binding | undefined { |
| 636 | for ( |
no test coverage detected