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

Function annotate

ark/aot/graph.ts:6415–6418  ·  view source on GitHub ↗
(kind: KindBits, annotated: KindBits | undefined)

Source from the content-addressed store, hash-verified

6413 /^[a-z]/.test(node.parent.name.name)
6414
6415const annotate = (kind: KindBits, annotated: KindBits | undefined): KindBits =>
6416 annotated === undefined ? kind : (
6417 (kind & arkBits) | (kind & ~arkBits ? annotated : 0)
6418 )
6419
6420const staticOwnerOf = (node: Node): Node | undefined => {
6421 const owner = ownerOf(node)

Callers 4

keyKindOfMethod · 0.70
paramKindOfMethod · 0.70
returnKindInMethod · 0.70
transferMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected