MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isSupertypeTarget

Function isSupertypeTarget

src/resolution/types.ts:543–546  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

541
542/** Scala singleton objects are values, unlike inheritable Ruby modules. */
543export 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. */
549export function isInheritanceRef(ref: UnresolvedRef): boolean {

Callers 2

gateTargetKindMethod · 0.90
sameNamedTypeOfValueMethod · 0.90

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected