(node: Node)
| 541 | |
| 542 | /** Scala singleton objects are values, unlike inheritable Ruby modules. */ |
| 543 | export function isSupertypeTarget(node: Node): boolean { |
| 544 | return SUPERTYPE_TARGET_KINDS.has(node.kind) && |
| 545 | !(node.language === 'scala' && node.kind === 'module'); |
| 546 | } |
| 547 | |
| 548 | /** True for the reference kinds that assert an inheritance/conformance relation. */ |
| 549 | export function isInheritanceRef(ref: UnresolvedRef): boolean { |
no test coverage detected