Store src data in tokens

This commit is contained in:
nub31
2025-05-24 21:12:44 +02:00
parent 1ff434e1c3
commit 26906ea689
9 changed files with 44 additions and 44 deletions

View File

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