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
When I process python Cpg, I found that node types like "Call" seems to only provide property "lineNumber" (w/o "lineNumberEnd"). However, for code in python, it is common that a statement are written in multiple lines.
I tried to use property "code" to locate the end line, but unfortunately it seems that the content in "code" has been processed by Joern and thus it is different from the raw source code lines.
I noticed that for library like ast in python, it provides a easy way to achieve the start and end for these lines by property "end_lineno".
I'm wondering why do we not provide these, or maybe there are some other alternative ways I missed?
The text was updated successfully, but these errors were encountered:
When I process python Cpg, I found that node types like "Call" seems to only provide property "lineNumber" (w/o "lineNumberEnd"). However, for code in python, it is common that a statement are written in multiple lines.
I tried to use property "code" to locate the end line, but unfortunately it seems that the content in "code" has been processed by Joern and thus it is different from the raw source code lines.
I noticed that for library like ast in python, it provides a easy way to achieve the start and end for these lines by property "end_lineno".
I'm wondering why do we not provide these, or maybe there are some other alternative ways I missed?
The text was updated successfully, but these errors were encountered: