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

Function fxGetNextDigitsE

xs/sources/xsLexical.c:237–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237txString fxGetNextDigitsE(txParser* parser, txString p, txString q)
238{
239 int c = parser->character;
240 while (('0' <= c) && (c <= '9')) {
241 if (p < q) *p++ = (char)c;
242 fxGetNextCharacter(parser);
243 c = parser->character;
244 }
245 return p;
246}
247
248txString fxGetNextDigitsO(txParser* parser, txString p, txString q)
249{

Callers

nothing calls this directly

Calls 1

fxGetNextCharacterFunction · 0.85

Tested by

no test coverage detected