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

Function isSupertypeTarget

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

Source from the content-addressed store, hash-verified

550
551/** Scala singleton objects are values, unlike inheritable Ruby modules. */
552export 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. */
558export function isInheritanceRef(ref: UnresolvedRef): boolean {

Callers 2

gateTargetKindMethod · 0.90
sameNamedTypeOfValueMethod · 0.90

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected