(loc: Optional<SourceLocation>)
| 71 | } |
| 72 | |
| 73 | private locToStr(loc: Optional<SourceLocation>): string { |
| 74 | if (loc == null) { |
| 75 | throw utils.haltOrThrow(`location in ast is ${loc}`); |
| 76 | } |
| 77 | return JSON.stringify(loc); |
| 78 | } |
| 79 | |
| 80 | private findParentFunctionPath( |
| 81 | path: NodePath<FunctionClass | Identifier>, |
no test coverage detected