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

Function fxForNodeHoist

xs/sources/xsScope.c:691–703  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689}
690
691void fxForNodeHoist(void* it, void* param)
692{
693 txForNode* self = it;
694 self->scope = fxScopeNew(param, it, XS_TOKEN_BLOCK);
695 if (self->initialization)
696 fxNodeDispatchHoist(self->initialization, param);
697 if (self->expression)
698 fxNodeDispatchHoist(self->expression, param);
699 if (self->iteration)
700 fxNodeDispatchHoist(self->iteration, param);
701 fxNodeDispatchHoist(self->statement, param);
702 fxScopeHoisted(self->scope, param);
703}
704
705void fxForInForOfNodeHoist(void* it, void* param)
706{

Callers

nothing calls this directly

Calls 3

fxScopeNewFunction · 0.85
fxNodeDispatchHoistFunction · 0.85
fxScopeHoistedFunction · 0.85

Tested by

no test coverage detected