MCPcopy Create free account
hub / github.com/WebReflection/neverland / unrollValues$1

Function unrollValues$1

index.js:1775–1784  ·  view source on GitHub ↗
(info, values, length)

Source from the content-addressed store, hash-verified

1773 };
1774
1775 var unrollValues$1 = function unrollValues(info, values, length) {
1776 var stack = info.stack;
1777
1778 for (var i = 0; i < length; i++) {
1779 var hook = values[i];
1780 if (hook instanceof Hook) values[i] = unroll$1(stack[i] || (stack[i] = createCache$1(info)), hook);else if (hook instanceof Hole) unrollHole(stack[i] || (stack[i] = createCache$1(info)), hook);else if (isArray(hook)) unrollValues(stack[i] || (stack[i] = createCache$1(info)), hook, hook.length);else stack[i] = null;
1781 }
1782
1783 if (length < stack.length) stack.splice(length);
1784 };
1785
1786 var view = function view(entry, _ref3) {
1787 var type = _ref3.type,

Callers 2

unrollHoleFunction · 0.85
createForFunction · 0.85

Calls 4

createCache$1Function · 0.85
unroll$1Function · 0.70
unrollHoleFunction · 0.70
unrollValuesFunction · 0.70

Tested by

no test coverage detected