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

Function fxModuleNodeHoist

xs/sources/xsScope.c:813–822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811}
812
813void fxModuleNodeHoist(void* it, void* param)
814{
815 txModuleNode* self = it;
816 txHoister* hoister = param;
817 hoister->functionScope = hoister->bodyScope = self->scope = fxScopeNew(param, it, XS_TOKEN_MODULE); // @@
818 hoister->environmentNode = it;
819 fxNodeDispatchHoist(self->body, param);
820 hoister->environmentNode = C_NULL;
821 fxScopeHoisted(self->scope, param);
822}
823
824void fxParamsBindingNodeHoist(void* it, void* param)
825{

Callers

nothing calls this directly

Calls 3

fxScopeNewFunction · 0.85
fxNodeDispatchHoistFunction · 0.85
fxScopeHoistedFunction · 0.85

Tested by

no test coverage detected