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

Function fxCatchNodeBind

xs/sources/xsScope.c:965–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963}
964
965void fxCatchNodeBind(void* it, void* param)
966{
967 txCatchNode* self = it;
968 if (self->parameter) {
969 fxScopeBinding(self->scope, param);
970 fxNodeDispatchBind(self->parameter, param);
971 fxScopeBinding(self->statementScope, param);
972 fxScopeBindDefineNodes(self->statementScope, param);
973 if (self->statementScope->disposableNodeCount)
974 fxBinderPushVariables(param, 2);
975 fxNodeDispatchBind(self->statement, param);
976 if (self->statementScope->disposableNodeCount)
977 fxBinderPushVariables(param, 2);
978 fxScopeBound(self->statementScope, param);
979 fxScopeBound(self->scope, param);
980 }
981 else {
982 fxScopeBinding(self->statementScope, param);
983 fxScopeBindDefineNodes(self->statementScope, param);
984 if (self->statementScope->disposableNodeCount)
985 fxBinderPushVariables(param, 2);
986 fxNodeDispatchBind(self->statement, param);
987 if (self->statementScope->disposableNodeCount)
988 fxBinderPushVariables(param, 2);
989 fxScopeBound(self->statementScope, param);
990 }
991}
992
993void fxClassNodeBind(void* it, void* param)
994{

Callers

nothing calls this directly

Calls 5

fxScopeBindingFunction · 0.85
fxNodeDispatchBindFunction · 0.85
fxScopeBindDefineNodesFunction · 0.85
fxBinderPushVariablesFunction · 0.85
fxScopeBoundFunction · 0.85

Tested by

no test coverage detected