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

Method Format

CodeFormatServer/src/Service/FormatService.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17std::string FormatService::Format(LuaSyntaxTree &luaSyntaxTree, LuaStyle &luaStyle) {
18 FormatBuilder f(luaStyle);
19 return f.GetFormatResult(luaSyntaxTree);
20}
21
22std::string FormatService::RangeFormat(LuaSyntaxTree &luaSyntaxTree, LuaStyle &luaStyle, FormatRange &range) {
23 RangeFormatBuilder f(luaStyle, range);

Callers 1

OnFormattingMethod · 0.45

Calls 1

GetFormatResultMethod · 0.45

Tested by

no test coverage detected