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

Function fxParseJSNumberX

modules/piu/PC/Code/piuCodeJS.c:395–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395void fxParseJSNumberX(PiuCodeParser parser)
396{
397 int c;
398 for (;;) {
399 PiuCodeParserAdvance(parser);
400 c = parser->character;
401 if (('0' <= c) && (c <= '9'))
402 continue;
403 if (('a' <= c) && (c <= 'f'))
404 continue;
405 if (('A' <= c) && (c <= 'F'))
406 continue;
407 break;
408 }
409}
410
411void fxParseJSString(PiuCodeParser parser)
412{

Callers 1

fxParseJSCodeFunction · 0.85

Calls 1

PiuCodeParserAdvanceFunction · 0.85

Tested by

no test coverage detected