-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get the end_line and end_col of a multi-line comment? #294
Comments
But can't you calculate this from comment text? |
Yes, but this would be a kind of guessing. Having an EXPLICIT syntax tree information about the end_line and end_col of a multi-line comment would be better. |
@RomanYankovsky I think that this yet another to decide which way to go: close (out of scope) or triage it as a new feature: great idea is to assign labels: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While the uses node:
<USES begin_line="7" begin_col="1" end_line="14" end_col="1">
... as a multiline element has the attributes begin_line, begin_col, end_line, end_col,
the Comments-node object has only the members line and col. Although a comment can be multiple lines.
So how can I determine the end_line and end_col of a multi-line comment?
The text was updated successfully, but these errors were encountered: