-
I want to get the entire line of code where an Expr or Ast Node is located, any api can do this? |
Beta Was this translation helpful? Give feedback.
Answered by
smowton
May 14, 2021
Replies: 1 comment
-
No, you can only get the file name/path and start/end line and column. If you want to retrieve the original code you will need to retrieve it from the source tree outside of codeql. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
criemen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, you can only get the file name/path and start/end line and column. If you want to retrieve the original code you will need to retrieve it from the source tree outside of codeql.