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

Function fxCharSetSingle

xs/sources/xsre.c:1148–1157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1146}
1147
1148void* fxCharSetSingle(txPatternParser* parser, txInteger character)
1149{
1150 txCharSet* result = fxPatternParserCreateTerm(parser, sizeof(txCharSet) + (2 * sizeof(txInteger)), fxCharSetMeasure);
1151 result->stringCount = 0;
1152 result->strings = C_NULL;
1153 result->characters[0] = 2;
1154 result->characters[1] = character;
1155 result->characters[2] = character + 1;
1156 return result;
1157}
1158
1159void* fxCharSetSpaces(txPatternParser* parser)
1160{

Callers 7

fxCharSetOperandFunction · 0.85
fxCharSetParseEscapeFunction · 0.85
fxCharSetParseItemFunction · 0.85
fxCharSetParseListFunction · 0.85
fxCharSetStringsFunction · 0.85
fxCharSetStringsSequenceFunction · 0.85
fxSequenceParseFunction · 0.85

Calls 1

Tested by

no test coverage detected