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