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

Function fxFieldNodeBind

xs/sources/xsScope.c:1068–1082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1066}
1067
1068void fxFieldNodeBind(void* it, void* param)
1069{
1070 txFieldNode* self = it;
1071 txBinder* binder = param;
1072 txNode* item = self->item;
1073 if (item->description->token == XS_TOKEN_PROPERTY_AT)
1074 fxScopeLookup(binder->scope, ((txPropertyAtNode*)item)->atAccess, 0);
1075 else if (item->description->token == XS_TOKEN_PRIVATE_PROPERTY) {
1076 if (item->flags & (mxMethodFlag | mxGetterFlag | mxSetterFlag))
1077 fxScopeLookup(binder->scope, ((txPrivatePropertyNode*)item)->valueAccess, 0);
1078 fxScopeLookup(binder->scope, ((txPrivatePropertyNode*)item)->symbolAccess, 0);
1079 }
1080 if (self->value)
1081 fxNodeDispatchBind(self->value, param);
1082}
1083
1084void fxForNodeBind(void* it, void* param)
1085{

Callers

nothing calls this directly

Calls 2

fxScopeLookupFunction · 0.85
fxNodeDispatchBindFunction · 0.85

Tested by

no test coverage detected