Skip to content

Commit

Permalink
Add property ReferenceNode to ParserReference
Browse files Browse the repository at this point in the history
  • Loading branch information
WillemJann committed Jan 19, 2023
1 parent 4db09ab commit 4d421b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/XLParser/ParserReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public enum ReferenceType
public class ParserReference
{
public ReferenceType ReferenceType { get; set; }
public ParseTreeNode ReferenceNode { get; set; }
public string LocationString { get; set; }
public string Worksheet { get; set; }
public string LastWorksheet { get; set; }
Expand Down Expand Up @@ -103,6 +104,7 @@ public void InitializeReference(ParseTreeNode node)
break;
}

ReferenceNode = node;
LocationString = node.Print();
}

Expand Down

0 comments on commit 4d421b1

Please sign in to comment.