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

Function fxNewStringInstance

xs/sources/xsString.c:398–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398txSlot* fxNewStringInstance(txMachine* the)
399{
400 txSlot* instance;
401 instance = fxNewObjectInstance(the);
402 instance->flag |= XS_EXOTIC_FLAG;
403 fxNextSlotProperty(the, instance, &mxEmptyString, XS_STRING_BEHAVIOR, XS_INTERNAL_FLAG);
404 return instance;
405}
406
407void fxStringAccessorGetter(txMachine* the)
408{

Callers 3

fxBuildStringFunction · 0.85
fx_StringFunction · 0.85
fxToInstanceFunction · 0.85

Calls 2

fxNewObjectInstanceFunction · 0.85
fxNextSlotPropertyFunction · 0.85

Tested by

no test coverage detected