MCPcopy
hub / github.com/vuejs/core / walkArrayPattern

Function walkArrayPattern

packages/compiler-sfc/src/compileScript.ts:1262–1271  ·  view source on GitHub ↗
(
  node: ArrayPattern,
  bindings: Record<string, BindingTypes>,
  isConst: boolean,
  isDefineCall = false,
)

Source from the content-addressed store, hash-verified

1260}
1261
1262function walkArrayPattern(
1263 node: ArrayPattern,
1264 bindings: Record<string, BindingTypes>,
1265 isConst: boolean,
1266 isDefineCall = false,
1267) {
1268 for (const e of node.elements) {
1269 e && walkPattern(e, bindings, isConst, isDefineCall)
1270 }
1271}
1272
1273function walkPattern(
1274 node: Node,

Callers 2

walkDeclarationFunction · 0.85
walkPatternFunction · 0.85

Calls 1

walkPatternFunction · 0.85

Tested by

no test coverage detected