(node: Node)
| 550 | |
| 551 | /** Scala singleton objects are values, unlike inheritable Ruby modules. */ |
| 552 | export function isSupertypeTarget(node: Node): boolean { |
| 553 | return SUPERTYPE_TARGET_KINDS.has(node.kind) && |
| 554 | !(node.language === 'scala' && node.kind === 'module'); |
| 555 | } |
| 556 | |
| 557 | /** True for the reference kinds that assert an inheritance/conformance relation. */ |
| 558 | export function isInheritanceRef(ref: UnresolvedRef): boolean { |
no test coverage detected