Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't correct, but simple, and usually works.
| 559 | // Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't |
| 560 | // correct, but simple, and usually works. |
| 561 | static bool IsWhiteSpace( char p ) { |
| 562 | return !IsUTF8Continuation(p) && isspace( static_cast<unsigned char>(p) ); |
| 563 | } |
| 564 | |
| 565 | inline static bool IsNameStartChar( unsigned char ch ) { |
| 566 | if ( ch >= 128 ) { |
nothing calls this directly
no outgoing calls
no test coverage detected