mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 09:06:41 +02:00
- Fix crash when using `get` our `out` multiple times with the same variable name - Show the name of the file in which the error occured
16 lines
402 B
C#
16 lines
402 B
C#
namespace YesNt.Interpreter.Runtime
|
|
{
|
|
internal class Line
|
|
{
|
|
public Line(string content, string fileName, int lineNumber)
|
|
{
|
|
Content = content;
|
|
FileName = fileName;
|
|
LineNumber = lineNumber;
|
|
}
|
|
|
|
public string Content { get; set; }
|
|
public string FileName { get; set; }
|
|
public int LineNumber { get; set; }
|
|
}
|
|
} |