| 1180 | } |
| 1181 | |
| 1182 | void fxObjectNodeBind(void* it, void* param) |
| 1183 | { |
| 1184 | txObjectNode* self = it; |
| 1185 | txNode* item = self->items->first; |
| 1186 | fxBinderPushVariables(param, 1); |
| 1187 | while (item) { |
| 1188 | txNode* value; |
| 1189 | if (item->description->token == XS_TOKEN_SPREAD) { |
| 1190 | } |
| 1191 | else { |
| 1192 | if (item->description->token == XS_TOKEN_PROPERTY) { |
| 1193 | value = ((txPropertyNode*)item)->value; |
| 1194 | } |
| 1195 | else { |
| 1196 | value = ((txPropertyAtNode*)item)->value; |
| 1197 | } |
| 1198 | if ((value->description->token == XS_TOKEN_FUNCTION) || (value->description->token == XS_TOKEN_GENERATOR) || (value->description->token == XS_TOKEN_HOST)) { |
| 1199 | txFunctionNode* node = (txFunctionNode*)value; |
| 1200 | node->flags |= item->flags & (mxMethodFlag | mxGetterFlag | mxSetterFlag); |
| 1201 | } |
| 1202 | else if (value->description->token == XS_TOKEN_CLASS) { |
| 1203 | // txFunctionNode* node = (txFunctionNode*)(((txClassNode*)value)->constructor); |
| 1204 | } |
| 1205 | } |
| 1206 | fxNodeDispatchBind(item, param); |
| 1207 | item = item->next; |
| 1208 | } |
| 1209 | fxBinderPopVariables(param, 1); |
| 1210 | } |
| 1211 | |
| 1212 | void fxObjectBindingNodeBind(void* it, void* param) |
| 1213 | { |
nothing calls this directly
no test coverage detected