This commit is contained in:
nub31
2025-05-24 21:40:48 +02:00
parent 30b3df626a
commit 43766f6d97
10 changed files with 403 additions and 20 deletions

View File

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