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

Function fxParseXMLValue

modules/piu/PC/Code/piuCodeXML.c:246–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void fxParseXMLValue(PiuCodeParser parser)
247{
248 int32_t character = parser->character;
249 if ((character != '"') && (character != '\''))
250 PiuCodeParserError(parser);
251 PiuCodeParserColorAt(parser, 2, parser->input);
252 PiuCodeParserAdvance(parser);
253 while ((parser->character) && (parser->character != character)) {
254 fxParseXMLSpace(parser, NULL);
255 PiuCodeParserAdvance(parser);
256 }
257 if (parser->character != character)
258 PiuCodeParserError(parser);
259 PiuCodeParserAdvance(parser);
260 PiuCodeParserColorAt(parser, 1, parser->input);
261 parser->color = 1;
262}
263

Callers 2

fxParseXMLStartTagFunction · 0.85

Calls 4

PiuCodeParserErrorFunction · 0.85
PiuCodeParserColorAtFunction · 0.85
PiuCodeParserAdvanceFunction · 0.85
fxParseXMLSpaceFunction · 0.85

Tested by

no test coverage detected