MCPcopy
hub / github.com/lebab/lebab / leaveFunction

Function leaveFunction

src/transform/let.js:139–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137
138// Exits FunctionScope but first transforms all variables inside it
139function leaveFunction() {
140 transformVarsToLetOrConst();
141 scopeManager.leaveScope();
142}
143
144// This is where the actual transform happens
145function transformVarsToLetOrConst() {

Callers 2

leaveFunction · 0.85
leaveProgramFunction · 0.85

Calls 2

leaveScopeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…