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

Function to_string

src/plugin/Settings.cpp:104–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104static const wchar_t *to_string(SpellerId value) {
105 switch (value) {
106 case SpellerId::aspell:
107 return L"Aspell";
108 case SpellerId::hunspell:
109 return L"Hunspell";
110 case SpellerId::native:
111 return L"Native_Speller";
112 case SpellerId::COUNT:
113 break;
114 }
115 throw std::runtime_error("Incorrect SpellerId value");
116}
117
118static const wchar_t *default_language(SpellerId value) {
119 switch (value) {

Callers 1

processMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected