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

Function fxBindingNodeBind

xs/sources/xsScope.c:942–950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

940}
941
942void fxBindingNodeBind(void* it, void* param)
943{
944 txBindingNode* self = it;
945 txToken token = self->target->description->token;
946 fxNodeDispatchBind(self->target, param);
947 if ((token == XS_TOKEN_ACCESS) || (token == XS_TOKEN_ARG) || (token == XS_TOKEN_CONST) || (token == XS_TOKEN_LET) || (token == XS_TOKEN_USING) || (token == XS_TOKEN_VAR))
948 fxFunctionNodeRename(self->initializer, ((txAccessNode*)self->target)->symbol);
949 fxNodeDispatchBind(self->initializer, param);
950}
951
952void fxBlockNodeBind(void* it, void* param)
953{

Callers

nothing calls this directly

Calls 2

fxNodeDispatchBindFunction · 0.85
fxFunctionNodeRenameFunction · 0.85

Tested by

no test coverage detected