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

Method targetInitOf

ark/aot/graph.ts:4611–4622  ·  view source on GitHub ↗
(
		target: ImportTarget,
		kindOfKey: KindOfKey
	)

Source from the content-addressed store, hash-verified

4609 }
4610
4611 private targetInitOf(
4612 target: ImportTarget,
4613 kindOfKey: KindOfKey
4614 ): Located | undefined {
4615 return (
4616 target.kind === "binding" ?
4617 this.bindingInitOf(target.binding, target.module, kindOfKey)
4618 : target.kind === "expression" ?
4619 { node: target.node, module: target.module, kindOfKey }
4620 : undefined
4621 )
4622 }
4623
4624 // null where the definition has no alias by the name, undefined if unknown
4625 private aliasIn(

Callers 2

constInitOfMethod · 0.95
bindingInitOfMethod · 0.95

Calls 1

bindingInitOfMethod · 0.95

Tested by

no test coverage detected