(node: Node)
| 7511 | } |
| 7512 | |
| 7513 | export const enclosingFunctionOf = (node: Node): FunctionNode | undefined => { |
| 7514 | for (let parent = node.parent; parent; parent = parent.parent) |
| 7515 | if (isFunctionNode(parent)) return parent |
| 7516 | } |
| 7517 | |
| 7518 | const stepsByModule = new WeakMap<SourceModule, Map<Node, number>>() |
| 7519 |
no test coverage detected