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

Function fxSkipSpaces

xs/sources/xsCommon.c:921–933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919}
920
921txString fxSkipSpaces(txString string)
922{
923 txString p = string;
924 txString q = p;
925 txInteger c;
926 while (((q = fxUTF8Decode(q, &c))) && (c != C_EOF)) {
927 if (fxIsSpace(c))
928 p = q;
929 else
930 break;
931 }
932 return p;
933}
934
935txString fxStringifyHexEscape(txString string, txInteger character)
936{

Callers 5

fxStringToBigIntFunction · 0.85
fxStringToNumberFunction · 0.85
fxSetBreakpointHitCountFunction · 0.85
fx_parseIntFunction · 0.85

Calls 2

fxUTF8DecodeFunction · 0.85
fxIsSpaceFunction · 0.85

Tested by

no test coverage detected