|
PCART
v1.4
Automated Repair of Python API Parameter Compatibility Issues
|
Go to the source code of this file.
Namespaces | |
| getCall | |
| Extract lib API calls from project source code. | |
Functions | |
| def | getCallFunction (filePath, libName, projPath=None, pcresolveLookup=None) |
| Extract all API calls from a given .py file 每次传进来一个.py文件,抽取所有的调用API. More... | |
| def | getSelfAPI (root, importDict, libName) |
| Extract method calls in a custom class inherited from a lib class 获取从库API继承的自定义类中的库API方法调用 More... | |
| def | modifyFirstName (prefix, callName, paraStr, codeLst) |
| Restore the conventional API call path by modifying the first name of the API prefix 通过修改API赋值调用前缀还原完整的API调用路径 More... | |
| def | modifyWithName (callName, withitemCallName, lineno=None) |
| Restore the conventional API call path in the withitem (including AsyncWith) call form 还原withitemAPI调用的完整API调用路径 More... | |