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

Function fxParseXMLSpace

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

Source from the content-addressed store, hash-verified

186}
187
188void fxParseXMLSpace(PiuCodeParser parser, int* length)
189{
190 int offset = parser->input;
191 for (;;) {
192 switch (parser->character) {
193 case 9:
194 PiuCodeParserTab(parser);
195 break;
196 case 10:
197 case 13:
198 PiuCodeParserReturn(parser);
199 break;
200 case ' ':
201 PiuCodeParserAdvance(parser);
202 break;
203 default:
204 if (length)
205 *length = parser->input - offset;
206 return;
207 }
208 }
209}
210
211void fxParseXMLStartTag(PiuCodeParser parser)
212{

Callers 7

PiuCodeFormatXMLFunction · 0.85
fxParseXMLCommentFunction · 0.85
fxParseXMLDataFunction · 0.85
fxParseXMLStartTagFunction · 0.85
fxParseXMLStopTagFunction · 0.85
fxParseXMLValueFunction · 0.85

Calls 3

PiuCodeParserTabFunction · 0.85
PiuCodeParserReturnFunction · 0.85
PiuCodeParserAdvanceFunction · 0.85

Tested by

no test coverage detected