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

Method bindLeft

ark/aot/readers.ts:1623–1628  ·  view source on GitHub ↗
(left: Node, module: SourceModule, held: Held)

Source from the content-addressed store, hash-verified

1621 }
1622
1623 private bindLeft(left: Node, module: SourceModule, held: Held): void {
1624 if (left.type === "VariableDeclaration") {
1625 for (const declarator of left.declarations)
1626 this.bindPattern(declarator.id, module, held)
1627 } else this.write(left, module, held)
1628 }
1629
1630 private readBinding(
1631 binding: Binding,

Callers 1

readAtMethod · 0.95

Calls 2

bindPatternMethod · 0.95
writeMethod · 0.95

Tested by

no test coverage detected