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

Function fxGetNextStringX

xs/sources/xsLexical.c:820–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

818}
819
820txBoolean fxGetNextStringX(int c, txU4* value)
821{
822 if (('0' <= c) && (c <= '9'))
823 *value = (*value * 16) + (c - '0');
824 else if (('a' <= c) && (c <= 'f'))
825 *value = (*value * 16) + (10 + c - 'a');
826 else if (('A' <= c) && (c <= 'F'))
827 *value = (*value * 16) + (10 + c - 'A');
828 else
829 return 0;
830 return 1;
831}
832
833void fxGetNextToken(txParser* parser)
834{

Callers 2

fxGetNextIdentiferXFunction · 0.85
fxGetNextEntityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected