| 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 ) |
no outgoing calls
no test coverage detected