mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-10 07:56:08 +02:00
Upgrade to .NET 8 and code cleanup
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
namespace YesNt.Interpreter.Runtime
|
||||
{
|
||||
internal class Line
|
||||
{
|
||||
public Line(string content, string fileName, int lineNumber)
|
||||
{
|
||||
Content = content;
|
||||
FileName = fileName;
|
||||
LineNumber = lineNumber;
|
||||
}
|
||||
namespace YesNt.Interpreter.Runtime;
|
||||
|
||||
public string Content { get; set; }
|
||||
public string FileName { get; set; }
|
||||
public int LineNumber { get; set; }
|
||||
}
|
||||
internal class Line(string content, string fileName, int lineNumber)
|
||||
{
|
||||
public string Content { get; set; } = content;
|
||||
|
||||
public string FileName { get; set; } = fileName;
|
||||
|
||||
public int LineNumber { get; set; } = lineNumber;
|
||||
}
|
||||
Reference in New Issue
Block a user