MCPcopy Create free account
hub / github.com/avast/retdec / IsNameStartChar

Function IsNameStartChar

deps/tinyxml2/include/tinyxml2/tinyxml2.h:575–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

ParseNameMethod · 0.85
ParseAttributesMethod · 0.85
IsNameCharFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected