MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / IsNameStartChar

Function IsNameStartChar

Dependencies/tinyxml2/include/tinyxml2.h:578–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576 }
577
578 inline static bool IsNameStartChar( unsigned char ch ) {
579 if ( ch >= 128 ) {
580 // This is a heuristic guess in attempt to not implement Unicode-aware isalpha()
581 return true;
582 }
583 if ( isalpha( ch ) ) {
584 return true;
585 }
586 return ch == ':' || ch == '_';
587 }
588
589 inline static bool IsNameChar( unsigned char ch ) {
590 return IsNameStartChar( ch )

Callers 3

ParseNameMethod · 0.85
ParseAttributesMethod · 0.85
IsNameCharFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected