|
PCART
v1.4
Automated Repair of Python API Parameter Compatibility Issues
|
Provide some class definitions for extracting lib API calls from project source files. More...
Classes | |
| class | GetFuncCall |
| Extract all call type nodes from a project source file 抽取项目源码中的所有call类型节点 More... | |
| class | Import |
| Import and ImportFrom node visitor Import和ImportFrom节点遍历器 More... | |
| class | WithVisitor |
| Get all with nodes from a project source file 项目源码with节点遍历器 More... | |
Provide some class definitions for extracting lib API calls from project source files.
Contains AST NodeVisitor classes: Import (resolves import aliases), GetFuncCall (DFS-based Call node extraction), and WithVisitor (records withitem/async-with context expressions and alias names). 包含AST NodeVisitor类:Import(解析import别名)、GetFuncCall(基于DFS的 Call节点提取)、WithVisitor(记录withitem/async-with上下文表达式和别名)。