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

Function fxGetNextDigitsX

xs/sources/xsLexical.c:259–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259txString fxGetNextDigitsX(txParser* parser, txString p, txString q)
260{
261 int c = parser->character;
262 while ((('0' <= c) && (c <= '9')) || (('a' <= c) && (c <= 'f')) || (('A' <= c) && (c <= 'F'))) {
263 if (p < q) *p++ = (char)c;
264 fxGetNextCharacter(parser);
265 c = parser->character;
266 }
267 return p;
268}
269
270void fxGetNextKeyword(txParser* parser)
271{

Callers

nothing calls this directly

Calls 1

fxGetNextCharacterFunction · 0.85

Tested by

no test coverage detected