(context: ResolutionContext)
| 48 | } |
| 49 | |
| 50 | function memoFor(context: ResolutionContext): Memo { |
| 51 | let memo = MEMO.get(context); |
| 52 | if (!memo) MEMO.set(context, (memo = { byName: null, byStem: null, targets: new Map(), includers: new Map() })); |
| 53 | return memo; |
| 54 | } |
| 55 | |
| 56 | const isCFamily = (language: string): boolean => language === 'c' || language === 'cpp'; |
| 57 | const fileName = (filePath: string): string => filePath.slice(Math.max(filePath.lastIndexOf('/'), filePath.lastIndexOf('\\')) + 1); |
no test coverage detected