MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / ParseName

Method ParseName

src/xml/tinyxml2.cpp:132–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131
132char* StrPair::ParseName( char* p ) {
133 if ( !p || !(*p) ) {
134 return 0;
135 }
136 if ( !XMLUtil::IsNameStartChar( *p ) ) {
137 return 0;
138 }
139
140 char* const start = p;
141 ++p;
142 while ( *p && XMLUtil::IsNameChar( *p ) ) {
143 ++p;
144 }
145
146 Set( start, p, 0 );
147 return p;
148}
149
150
151void StrPair::CollapseWhitespace() {

Callers 1

ParseDeepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected