MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / parse_array

Function parse_array

deps/Hunspell/src/hunspell/csutil.cxx:2628–2640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2626}
2627
2628bool parse_array(const std::string& line,
2629 std::string& out,
2630 std::vector<w_char>& out_utf16,
2631 int utf8,
2632 int ln) {
2633 if (!parse_string(line, out, ln))
2634 return false;
2635 if (utf8) {
2636 u8_u16(out_utf16, out);
2637 std::sort(out_utf16.begin(), out_utf16.end());
2638 }
2639 return true;
2640}

Callers 2

load_configMethod · 0.85
parse_fileMethod · 0.85

Calls 4

u8_u16Function · 0.85
parse_stringFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected