Getting start and end line number of each node in the DotDiff output #358
Unanswered
mahtab-nejati
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Hi! Do you mean the line in the corresponding source code file or dot file? Cheers! |
Beta Was this translation helpful? Give feedback.
1 reply
-
You have the absolute begin and end position directly on a Tree (getPos(), getLenght()). Cheers! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know that the getDotLabel method returns the label for Dot output nodes. Is there a way I could access the start and end line in the source code file for a node (maybe representing a single line of code or a multiline block of code) within the toString method so that it gets passed to this label?
Beta Was this translation helpful? Give feedback.
All reactions