MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / ParseName

Method ParseName

ReClass/tinyxml2.cpp:219–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217
218
219char* StrPair::ParseName( char* p )
220{
221 if ( !p || !(*p) ) {
222 return 0;
223 }
224 if ( !XMLUtil::IsNameStartChar( *p ) ) {
225 return 0;
226 }
227
228 char* const start = p;
229 ++p;
230 while ( *p && XMLUtil::IsNameChar( *p ) ) {
231 ++p;
232 }
233
234 Set( start, p, 0 );
235 return p;
236}
237
238
239void StrPair::CollapseWhitespace()

Callers 1

ParseDeepMethod · 0.80

Calls 2

IsNameStartCharFunction · 0.85
IsNameCharFunction · 0.85

Tested by

no test coverage detected