I need to know the lineNumber of each AstNodeBase in my ParseData.
Like it is done it the ParseData.Errors List. There I have the possibility to get extended information via PositionRange.StartPosition.DisplayLine.
Unfortunately the AstNodeBase only gives me the int offsets.
Is there something similiar for the ParseData or can i at least somehow calculate the line number based on the offsets ?
Thanks and regards