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

Method UpdateDiagnosticStyle

CodeFormatLib/src/LuaCodeFormat.cpp:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void LuaCodeFormat::UpdateDiagnosticStyle(InfoTree &tree) {
32 _diagnosticStyle = LuaDiagnosticStyle();
33 _diagnosticStyle.ParseTree(tree);
34 _diagnosticStyle.code_style_check = true;
35 _diagnosticStyle.name_style_check = true;
36 _diagnosticStyle.spell_check = true;
37}
38
39void LuaCodeFormat::RemoveCodeStyle(const std::string &workspaceUri) {
40 for (auto it = _configs.begin(); it != _configs.end(); it++) {

Callers 1

update_name_style_configFunction · 0.45

Calls 2

LuaDiagnosticStyleClass · 0.85
ParseTreeMethod · 0.80

Tested by

no test coverage detected