MCPcopy
hub / github.com/sveltejs/svelte / ArrowFunctionExpression

Function ArrowFunctionExpression

packages/svelte/src/compiler/phases/scope.js:1162–1168  ·  view source on GitHub ↗
(node, { state, next })

Source from the content-addressed store, hash-verified

1160 },
1161
1162 ArrowFunctionExpression(node, { state, next }) {
1163 const scope = state.scope.child(true);
1164 scopes.set(node, scope);
1165
1166 add_params(scope, node.params);
1167 next({ scope });
1168 },
1169
1170 ForStatement: create_block_scope,
1171 ForInStatement: create_block_scope,

Callers

nothing calls this directly

Calls 4

add_paramsFunction · 0.85
setMethod · 0.65
nextFunction · 0.50
childMethod · 0.45

Tested by

no test coverage detected