MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxArrayNodeBind

Function fxArrayNodeBind

xs/sources/xsScope.c:910–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

908}
909
910void fxArrayNodeBind(void* it, void* param)
911{
912 txArrayNode* self = it;
913 fxBinderPushVariables(param, 1);
914 if (self->flags & mxSpreadFlag) {
915 fxBinderPushVariables(param, 2);
916 fxNodeListDistribute(self->items, fxNodeDispatchBind, param);
917 fxBinderPopVariables(param, 2);
918 }
919 else
920 fxNodeListDistribute(self->items, fxNodeDispatchBind, param);
921 fxBinderPopVariables(param, 1);
922}
923
924void fxArrayBindingNodeBind(void* it, void* param)
925{

Callers

nothing calls this directly

Calls 3

fxBinderPushVariablesFunction · 0.85
fxNodeListDistributeFunction · 0.85
fxBinderPopVariablesFunction · 0.85

Tested by

no test coverage detected