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

Function fxCheckPropertyAliases

xs/tools/xslSlot.c:326–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326void fxCheckPropertyAliases(txMachine* the, txSlot* property, txAliasIDList* list)
327{
328 if (property->kind == XS_REFERENCE_KIND) {
329 fxCheckInstanceAliases(the, property->value.reference, list);
330 }
331 else if (property->kind == XS_ACCESSOR_KIND) {
332 if (property->value.accessor.getter) {
333 list->last->flag = XSL_GETTER_FLAG;
334 fxCheckInstanceAliases(the, property->value.accessor.getter, list);
335 }
336 if (property->value.accessor.setter) {
337 list->last->flag = XSL_SETTER_FLAG;
338 fxCheckInstanceAliases(the, property->value.accessor.setter, list);
339 }
340 }
341}
342
343txString fxGetBuilderName(txMachine* the, const txHostFunctionBuilder* which)
344{

Callers 1

fxCheckInstanceAliasesFunction · 0.85

Calls 1

fxCheckInstanceAliasesFunction · 0.85

Tested by

no test coverage detected