(name: string, owner: string, filePath: string, startLine: number)
| 351 | import { parseObjcRNExterns, collectNativeModuleAliases } from '../src/resolution/frameworks/react-native'; |
| 352 | |
| 353 | function swiftMethod(name: string, owner: string, filePath: string, startLine: number): Node { |
| 354 | return { |
| 355 | id: `swift:${filePath}:${name}:${startLine}`, |
| 356 | kind: 'method', |
| 357 | name, |
| 358 | qualifiedName: `${owner}::${name}`, |
| 359 | filePath, |
| 360 | language: 'swift', |
| 361 | startLine, |
| 362 | endLine: startLine + 4, |
| 363 | startColumn: 0, |
| 364 | endColumn: 0, |
| 365 | updatedAt: Date.now(), |
| 366 | } as Node; |
| 367 | } |
| 368 | |
| 369 | const SHIM = ` |
| 370 | #import <React/RCTBridgeModule.h> |
no outgoing calls
no test coverage detected