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
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