MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / reset

Function reset

3rd/nlohmann_json/single_include/nlohmann/json.hpp:7940–7945  ·  view source on GitHub ↗

reset token_buffer; current character is beginning of token

Source from the content-addressed store, hash-verified

7938
7939 /// reset token_buffer; current character is beginning of token
7940 void reset() noexcept
7941 {
7942 token_buffer.clear();
7943 token_string.clear();
7944 token_string.push_back(std::char_traits<char_type>::to_char_type(current));
7945 }
7946
7947 /*
7948 @brief get next character from the input

Callers 2

scan_stringMethod · 0.70
scan_numberMethod · 0.70

Calls 2

clearMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected