| 24 | } |
| 25 | |
| 26 | bool is_identifier_continue(uint8_t ch) { |
| 27 | return std::isalnum(static_cast<unsigned char>(ch)) != 0 || ch == '_'; |
| 28 | } |
| 29 | |
| 30 | bool is_python_string_prefix(std::string_view prefix) { |
| 31 | const std::string lowered = string_tolower(std::string(prefix)); |