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

Method reference

ark/aot/scope.ts:624–633  ·  view source on GitHub ↗
(
		id: IdentifierReference | JSXIdentifier,
		isWrite: boolean
	)

Source from the content-addressed store, hash-verified

622 }
623
624 private reference(
625 id: IdentifierReference | JSXIdentifier,
626 isWrite: boolean
627 ): Reference {
628 const reference: Reference = { id, binding: undefined, isWrite }
629 this.references.push(reference)
630 this.byId.set(id, reference)
631 this.scope.unresolved.push(reference)
632 return reference
633 }
634
635 bindingIn(node: Node | undefined, name: string): Binding | undefined {
636 for (

Callers 4

visitMethod · 0.95
visitExportMethod · 0.95
visitTargetMethod · 0.95
visitJsxNameMethod · 0.95

Calls 2

pushMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected