(node: Node, parent: Scope | undefined)
| 684 | type ArrowFunctionNode = Extract<Node, { type: "ArrowFunctionExpression" }> |
| 685 | |
| 686 | const createScope = (node: Node, parent: Scope | undefined): Scope => ({ |
| 687 | node, |
| 688 | parent, |
| 689 | bindings: Object.create(null), |
| 690 | unresolved: [] |
| 691 | }) |
| 692 | |
| 693 | const varScopeKinds = { |
| 694 | FunctionDeclaration: 1, |
no outgoing calls
no test coverage detected