-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #374 from huntercfreeman/optimizations
Optimizations
- Loading branch information
Showing
23 changed files
with
1,347 additions
and
1,730 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
371 changes: 193 additions & 178 deletions
371
Source/Lib/CompilerServices/CSharp/BinderCase/CSharpBinder.Expressions.cs
Large diffs are not rendered by default.
Oops, something went wrong.
138 changes: 71 additions & 67 deletions
138
Source/Lib/CompilerServices/CSharp/BinderCase/CSharpBinder.Main.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
235 changes: 102 additions & 133 deletions
235
Source/Lib/CompilerServices/CSharp/LexerCase/CSharpLexer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
Source/Lib/CompilerServices/CSharp/LexerCase/CSharpLexerOutput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Luthetus.TextEditor.RazorLib.CompilerServices; | ||
using Luthetus.TextEditor.RazorLib.CompilerServices.Syntax; | ||
using Luthetus.TextEditor.RazorLib.Lexers.Models; | ||
|
||
namespace Luthetus.CompilerServices.CSharp.LexerCase; | ||
|
||
public struct CSharpLexerOutput | ||
{ | ||
public CSharpLexerOutput() | ||
{ | ||
#if DEBUG | ||
++LuthetusDebugSomething.Lexer_ConstructorInvocationCount; | ||
#endif | ||
|
||
SyntaxTokenList = new(); | ||
EscapeCharacterList = new(); | ||
DiagnosticBag = new(); | ||
} | ||
|
||
public List<ISyntaxToken> SyntaxTokenList { get; } | ||
public List<TextEditorTextSpan> EscapeCharacterList { get; } | ||
public DiagnosticBag DiagnosticBag { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.