MCPcopy Create free account
hub / github.com/JayXon/Leanify / ParseName

Method ParseName

lib/tinyxml2/tinyxml2.cpp:138–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137
138char* StrPair::ParseName( char* p )
139{
140 if ( !p || !(*p) ) {
141 return 0;
142 }
143 if ( !XMLUtil::IsNameStartChar( *p ) ) {
144 return 0;
145 }
146
147 char* const start = p;
148 ++p;
149 while ( *p && XMLUtil::IsNameChar( *p ) ) {
150 ++p;
151 }
152
153 Set( start, p, 0 );
154 return p;
155}
156
157
158void StrPair::CollapseWhitespace()

Callers 1

ParseDeepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected