| 1114 | } |
| 1115 | |
| 1116 | void fxFunctionNodeBind(void* it, void* param) |
| 1117 | { |
| 1118 | txFunctionNode* self = it; |
| 1119 | txBinder* binder = param; |
| 1120 | txInteger scopeLevel = binder->scopeLevel; |
| 1121 | txInteger scopeMaximum = binder->scopeMaximum; |
| 1122 | scopeLevel = binder->scopeLevel; |
| 1123 | scopeMaximum = binder->scopeMaximum; |
| 1124 | binder->scopeLevel = 0; |
| 1125 | binder->scopeMaximum = 0; |
| 1126 | fxScopeBinding(self->scope, param); |
| 1127 | fxNodeDispatchBind(self->params, param); |
| 1128 | if (self->flags & mxBaseFlag) { |
| 1129 | if (binder->classNode->instanceInitAccess) { |
| 1130 | fxScopeLookup(binder->scope, binder->classNode->instanceInitAccess, 0); |
| 1131 | } |
| 1132 | } |
| 1133 | fxScopeBindDefineNodes(self->scope, param); |
| 1134 | fxNodeDispatchBind(self->body, param); |
| 1135 | fxScopeBound(self->scope, param); |
| 1136 | self->scopeCount = binder->scopeMaximum; |
| 1137 | binder->scopeMaximum = scopeMaximum; |
| 1138 | binder->scopeLevel = scopeLevel; |
| 1139 | } |
| 1140 | |
| 1141 | void fxFunctionNodeRename(void* it, txSymbol* symbol) |
| 1142 | { |
nothing calls this directly
no test coverage detected