This commit is contained in:
nub31
2025-05-24 21:40:48 +02:00
parent 830bf95308
commit 8ca72a1fe3
10 changed files with 403 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
namespace Nub.Lang.Frontend.Lexing;
public class IdentifierToken(string filePath, int startIndex, int endIndex, string value) : Token(filePath, startIndex, endIndex)
public class IdentifierToken(SourceFile sourceFile, int startIndex, int endIndex, string value) : Token(sourceFile, startIndex, endIndex)
{
public string Value { get; } = value;
}