Skip to content

Commit 246190f

Browse files
committed
does "Braces XOR single-line" mean this?
1 parent 8c8c816 commit 246190f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/BizHawk.Client.Common/lua/Documentation/LuaCatsGenerator.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,20 @@ public string Generate(LuaDocumentation docs)
7070
string libraryDescription = libraryGroup.First().LibraryDescription;
7171

7272
if (!string.IsNullOrEmpty(libraryDescription))
73+
{
7374
sb.AppendLine(FormatDescription(libraryDescription));
75+
}
76+
7477
sb.AppendLine($"---@class {library}");
7578
sb.AppendLine($"{library} = {{}}");
7679
sb.AppendLine();
7780

7881
foreach (var func in libraryGroup.OrderBy(func => func.Name))
7982
{
8083
if (!string.IsNullOrEmpty(func.Description))
84+
{
8185
sb.AppendLine(FormatDescription(func.Description));
86+
}
8287

8388
if (func.Example != null)
8489
{
@@ -93,7 +98,9 @@ public string Generate(LuaDocumentation docs)
9398
}
9499

95100
if (func.IsDeprecated)
101+
{
96102
sb.AppendLine("---@deprecated");
103+
}
97104

98105
foreach (var parameter in func.Method.GetParameters())
99106
{

0 commit comments

Comments
 (0)