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

Method SpellCheck

CodeFormatCore/src/Diagnostic/DiagnosticBuilder.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void DiagnosticBuilder::SpellCheck(const LuaSyntaxTree &t, CodeSpellChecker &spellChecker) {
54 if (!_diagnosticStyle.spell_check) {
55 return;
56 }
57
58 spellChecker.Analyze(*this, t);
59}
60
61void DiagnosticBuilder::ClearDiagnostic(std::size_t leftIndex) {
62 auto it = _nextDiagnosticMap.find(leftIndex);

Callers

nothing calls this directly

Calls 1

AnalyzeMethod · 0.45

Tested by

no test coverage detected