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

Method TypeFormat

CodeFormatServer/src/Service/FormatService.cpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29std::vector<LuaTypeFormat::Result>
30FormatService::TypeFormat(std::string_view trigger,
31 std::size_t line,
32 std::size_t character,
33 LuaSyntaxTree &luaSyntaxTree,
34 LuaStyle &luaStyle,
35 LuaTypeFormatFeatures &typeOptions) {
36 LuaTypeFormat tf(typeOptions);
37 tf.Analyze(trigger, line, character, luaSyntaxTree, luaStyle);
38 return tf.GetResult();
39}

Callers 1

OnTypeFormattingMethod · 0.45

Calls 2

GetResultMethod · 0.80
AnalyzeMethod · 0.45

Tested by

no test coverage detected