I'm trying to work with the ast
class in Python. I want to get all Function calls and their corresponding arguments.
How can I Implement that? The official Documentation on python.org is really vague.
I also tried implementing visit_Name
and visit_Call
, but that gives me more than the names of the Call. It would be nice if there were some documentation which attributes which nodes possesses. For example, id for Name-nodes and func for Call-nodes.