Skip to content

Commit 86ec548

Browse files
committed
dotnet format
1 parent ffbaa15 commit 86ec548

File tree

9 files changed

+1012
-1012
lines changed

9 files changed

+1012
-1012
lines changed

ServerCodeExciser/ServerCodeExciser.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.ComponentModel;
33
using System.Diagnostics.CodeAnalysis;
44
using System.IO;
@@ -69,7 +69,7 @@ public sealed class Settings : CommandSettings
6969
class RootPaths
7070
{
7171
[JsonPropertyName("AngelscriptScriptRoots")]
72-
public string[] AngelscriptScriptRoots { get;set;} = Array.Empty<string>();
72+
public string[] AngelscriptScriptRoots { get; set; } = Array.Empty<string>();
7373
}
7474

7575
public override int Execute([NotNull] CommandContext context, [NotNull] Settings settings)
@@ -91,7 +91,7 @@ public override int Execute([NotNull] CommandContext context, [NotNull] Settings
9191
var desc = File.ReadAllText(settings.InputPath);
9292
var paths = JsonSerializer.Deserialize<RootPaths>(desc);
9393
if (paths != null)
94-
{
94+
{
9595
parameters.InputPaths.UnionWith(paths.AngelscriptScriptRoots);
9696
}
9797
else

ServerCodeExciserTest/ExcisionIntegrationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,5 @@ private static EExciserReturnValues RunExciserIntegrationTests(string fileExtens
110110
}
111111

112112
return returnCode;
113-
}
113+
}
114114
}

ServerCodeExcisionCommon/IServerCodeExcisionLanguage.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@
22

33
namespace ServerCodeExcisionCommon
44
{
5-
public interface IServerCodeExcisionLanguage
6-
{
7-
List<string> ServerOnlySymbolRegexes { get; }
5+
public interface IServerCodeExcisionLanguage
6+
{
7+
List<string> ServerOnlySymbolRegexes { get; }
88

9-
List<string> ServerOnlySymbols { get; }
9+
List<string> ServerOnlySymbols { get; }
1010

11-
string ServerPrecompilerSymbol { get; }
11+
string ServerPrecompilerSymbol { get; }
1212

13-
string ServerScopeStartString { get; }
13+
string ServerScopeStartString { get; }
1414

15-
string ServerScopeEndString { get; }
15+
string ServerScopeEndString { get; }
1616

17-
T CreateLexer<T>(Antlr4.Runtime.AntlrInputStream inputStream)
18-
where T : Antlr4.Runtime.Lexer;
17+
T CreateLexer<T>(Antlr4.Runtime.AntlrInputStream inputStream)
18+
where T : Antlr4.Runtime.Lexer;
1919

20-
T CreateParser<T>(Antlr4.Runtime.CommonTokenStream tokenStream)
21-
where T : Antlr4.Runtime.Parser;
20+
T CreateParser<T>(Antlr4.Runtime.CommonTokenStream tokenStream)
21+
where T : Antlr4.Runtime.Parser;
2222

23-
IServerCodeVisitor CreateSimpleVisitor(string code);
23+
IServerCodeVisitor CreateSimpleVisitor(string code);
2424

25-
IServerCodeVisitor CreateFunctionVisitor(string code);
25+
IServerCodeVisitor CreateFunctionVisitor(string code);
2626

27-
IServerCodeVisitor CreateSymbolVisitor(string code);
27+
IServerCodeVisitor CreateSymbolVisitor(string code);
2828

29-
bool AnyServerOnlySymbolsInScript(string script);
30-
}
31-
}
29+
bool AnyServerOnlySymbolsInScript(string script);
30+
}
31+
}

ServerCodeExcisionCommon/IServerCodeVisitor.cs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22

33
namespace ServerCodeExcisionCommon
44
{
5-
public struct ServerOnlyScopeData
6-
{
7-
public int StartIndex;
8-
public int StopIndex;
9-
public string Opt_ElseContent;
5+
public struct ServerOnlyScopeData
6+
{
7+
public int StartIndex;
8+
public int StopIndex;
9+
public string Opt_ElseContent;
1010

11-
public ServerOnlyScopeData(int startIndex, int stopIndex)
12-
{
13-
StartIndex = startIndex;
14-
StopIndex = stopIndex;
15-
Opt_ElseContent = "";
16-
}
17-
}
11+
public ServerOnlyScopeData(int startIndex, int stopIndex)
12+
{
13+
StartIndex = startIndex;
14+
StopIndex = stopIndex;
15+
Opt_ElseContent = "";
16+
}
17+
}
1818

19-
public interface IServerCodeVisitor
20-
{
21-
List<ServerOnlyScopeData> DetectedServerOnlyScopes { get; }
22-
Dictionary<int, HashSet<string>> ClassStartIdxDummyReferenceData { get; }
23-
int TotalNumberOfFunctionCharactersVisited { get; }
19+
public interface IServerCodeVisitor
20+
{
21+
List<ServerOnlyScopeData> DetectedServerOnlyScopes { get; }
22+
Dictionary<int, HashSet<string>> ClassStartIdxDummyReferenceData { get; }
23+
int TotalNumberOfFunctionCharactersVisited { get; }
2424

25-
void VisitContext(Antlr4.Runtime.Tree.IParseTree context);
26-
}
27-
}
25+
void VisitContext(Antlr4.Runtime.Tree.IParseTree context);
26+
}
27+
}

0 commit comments

Comments
 (0)