Skip to content

Commit

Permalink
Add RangeRef and LocationRef to INode as well
Browse files Browse the repository at this point in the history
  • Loading branch information
adams85 committed Apr 1, 2024
1 parent 7307619 commit d2492bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Acornima/Ast/INode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ public interface INode
int Start { get; }
int End { get; }
Range Range { get; }
ref readonly Range RangeRef { get; }
SourceLocation Location { get; }
ref readonly SourceLocation LocationRef { get; }
object? UserData { get; }
}

0 comments on commit d2492bc

Please sign in to comment.