Returns true if the character is part of a SQL identifier token.
| 205 | |
| 206 | // Returns true if the character is part of a SQL identifier token. |
| 207 | static inline bool IsIdentifierChar(char c) { |
| 208 | return std::isalnum(static_cast<unsigned char>(c)) || c == '_'; |
| 209 | } |
| 210 | |
| 211 | // Returns true if text[idx] is the escaped character in a JSON escape sequence. |
| 212 | // Example: for "\\n", idx should point to 'n'. |