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

Function fxSwitchNodeBind

xs/sources/xsScope.c:1322–1334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1320}
1321
1322void fxSwitchNodeBind(void* it, void* param)
1323{
1324 txSwitchNode* self = it;
1325 fxNodeDispatchBind(self->expression, param);
1326 fxScopeBinding(self->scope, param);
1327 fxScopeBindDefineNodes(self->scope, param);
1328 if (self->scope->disposableNodeCount)
1329 fxBinderPushVariables(param, 2);
1330 fxNodeListDistribute(self->items, fxNodeDispatchBind, param);
1331 if (self->scope->disposableNodeCount)
1332 fxBinderPopVariables(param, 2);
1333 fxScopeBound(self->scope, param);
1334}
1335
1336void fxTargetNodeBind(void* it, void* param)
1337{

Callers

nothing calls this directly

Calls 7

fxNodeDispatchBindFunction · 0.85
fxScopeBindingFunction · 0.85
fxScopeBindDefineNodesFunction · 0.85
fxBinderPushVariablesFunction · 0.85
fxNodeListDistributeFunction · 0.85
fxBinderPopVariablesFunction · 0.85
fxScopeBoundFunction · 0.85

Tested by

no test coverage detected