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

Method PushDiagnostic

CodeFormatCore/src/Diagnostic/DiagnosticBuilder.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void DiagnosticBuilder::PushDiagnostic(DiagnosticType type,
23 std::size_t leftIndex,
24 TextRange range,
25 std::string_view message,
26 std::string_view data) {
27 _nextDiagnosticMap[leftIndex] = LuaDiagnostic(type, range, message, data);
28}
29
30void DiagnosticBuilder::PushDiagnostic(DiagnosticType type, TextRange range, std::string_view message,
31 std::string_view data) {

Callers 7

IdentifyAnalyzeMethod · 0.80
TextAnalyzeMethod · 0.80
DiagnosticMethod · 0.80
EndWithNewLineMethod · 0.80
BasicResolveMethod · 0.80

Calls 1

LuaDiagnosticClass · 0.85

Tested by

no test coverage detected