-
Notifications
You must be signed in to change notification settings - Fork 11
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
Does it use Tree Sitter AST? #426
Comments
We do use the tree_sitter python library |
But quite confused as README mentions it use python AST module: https://docs.python.org/3/library/ast.html So which is it? If I can give the inspect4py a tree sitter AST will it be able to generate control flow as an example? |
I do not think we support passing ASTs to the tool. We used to have a control flow option based on |
I am quite confused what is supported for Python 3. According to the paper, we can extract:
Also what do you use tree_sitter python library for as it appears that this also uses this AST module. |
@smith-co, Unfortunately, there is no support for About the call graph: For each file in the repo, we return all its functions. For each function, we return a list of the functions/methods that are being invoked, as shown in the example below: We also return the ast representation for each function, which is a recent addition using tree sitter. Why do we have |
Does it use Tree Sitter AST?
https://github.com/tree-sitter/tree-sitter
The text was updated successfully, but these errors were encountered: