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