You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if isinstance(declaration, node.ClassDeclaration):
parent_string = str(declaration)
Currently I'm trying to get the last line number of certain declaration. However, using above method and calculating the length of the declaration, it might give different result from the source file since it ignores comments and blank lines
The text was updated successfully, but these errors were encountered:
Enliven26
changed the title
Need to get last line in addition to declaration position
Need to get last line number in addition to declaration start line number
Nov 25, 2024
Currently I'm trying to get the last line number of certain declaration. However, using above method and calculating the length of the declaration, it might give different result from the source file since it ignores comments and blank lines
The text was updated successfully, but these errors were encountered: