| 825 | } |
| 826 | |
| 827 | void create_id_token(token_vector &tokens, const std::string &s) |
| 828 | { |
| 829 | token_type_t t = get_keyword_token(s); |
| 830 | if (t == token_type_t::INVALID_TOKEN) |
| 831 | { |
| 832 | // Create key path token. |
| 833 | tokens.emplace_back(token_type_t::KEY_PATH_TOKEN, s); |
| 834 | } |
| 835 | else |
| 836 | { |
| 837 | tokens.emplace_back(t); |
| 838 | } |
| 839 | } |
| 840 | |
| 841 | int append_string_escape(std::string &str, std::function<char(unsigned)> peek) |
| 842 | { |
no test coverage detected