Add line and column numbers to lexer tree

This commit is contained in:
Yoshi Askharoun
2024-02-04 22:09:21 -06:00
parent 6823ef5296
commit 934c20ccdf
5 changed files with 30 additions and 10 deletions
+2
View File
@@ -10,6 +10,8 @@ public abstract record AsmItem : IAsmItem
{
public int Line { get; set; } = -1;
public int Column { get; set; } = -1;
internal const string DebuggerDisplay = "({Line}, {Column})";
}
public interface IDirective : IAsmItem;