MCPcopy Create free account
hub / github.com/marijnh/Eloquent-JavaScript / VariablePattern

Function VariablePattern

src/client/sandbox.mjs:387–387  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

385 for (let i = 0; i < decls.length; i++)
386 walk.simple(decls[i].id, {
387 VariablePattern(node) { if (findAssignments(node.name, ast)) found = node.name }
388 }, null, null, "Pattern")
389 return found
390}

Callers

nothing calls this directly

Calls 1

findAssignmentsFunction · 0.85

Tested by

no test coverage detected