* Route based on which language the caller is in. The two directions are * symmetric in shape but very different in implementation (forward * direction uses the precomputed reverse-bridge map; reverse direction * uses the deterministic name-derivation).
(ref, context)
| 288 | * uses the deterministic name-derivation). |
| 289 | */ |
| 290 | resolve(ref, context) { |
| 291 | if (ref.language === 'swift') { |
| 292 | return resolveSwiftCallToObjc(ref, context); |
| 293 | } |
| 294 | if (ref.language === 'objc') { |
| 295 | return resolveObjcCallToSwift(ref, context); |
| 296 | } |
| 297 | return null; |
| 298 | }, |
| 299 | }; |
nothing calls this directly
no test coverage detected