MCPcopy Create free account
hub / github.com/arktypeio/arktype / kindOf

Method kindOf

ark/aot/graph.ts:1627–1634  ·  view source on GitHub ↗
(node: Node, module: SourceModule)

Source from the content-addressed store, hash-verified

1625 }
1626
1627 kindOf(node: Node, module: SourceModule): KindBits {
1628 let result = this.kindsByNode.get(node)
1629 if (result === undefined) {
1630 result = this.transfer(node, module, this.finalKindOfKey)
1631 this.kindsByNode.set(node, result)
1632 }
1633 return result
1634 }
1635
1636 private finalKindOfKey: KindOfKey = (key, module) =>
1637 this.kindsByKey.get(key) ?? this.solve(key, module)

Callers 15

composerOfMethod · 0.95
unavailableReadOfMethod · 0.95
leavesArkMethod · 0.95
scopeReadOfMethod · 0.95
genericCallOfMethod · 0.95
reachesMethod · 0.95
isArkCalleeMethod · 0.95
mayWriteInCallbackMethod · 0.95
mayWriteFromMethod · 0.95
definesArkMethod · 0.95
isReadThroughMethod · 0.80
composedHintOfMethod · 0.80

Calls 3

transferMethod · 0.95
getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected