MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / ParseName

Method ParseName

Source/ThirdParty/tinyxml2/tinyxml2.cpp:212–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210
211
212char* StrPair::ParseName( char* p )
213{
214 if ( !p || !(*p) ) {
215 return 0;
216 }
217 if ( !XMLUtil::IsNameStartChar( *p ) ) {
218 return 0;
219 }
220
221 char* const start = p;
222 ++p;
223 while ( *p && XMLUtil::IsNameChar( *p ) ) {
224 ++p;
225 }
226
227 Set( start, p, 0 );
228 return p;
229}
230
231
232void StrPair::CollapseWhitespace()

Callers 1

ParseDeepMethod · 0.80

Calls 1

SetFunction · 0.50

Tested by

no test coverage detected