Store src data in tokens

This commit is contained in:
nub31
2025-05-24 21:12:44 +02:00
parent 0cb10a68f6
commit 5f5cf7126a
9 changed files with 44 additions and 44 deletions

View File

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