Catching root node of called function/class in python AST

后端 未结 0 2001
别那么骄傲
别那么骄傲 2020-12-18 10:14

I am working with python AST to parse programs. If I have the AST tree of a program, how can I go to the root node of called function/class. For instance, consider there is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题