|
PCART
v1.4
Automated Repair of Python API Parameter Compatibility Issues
|
Go to the source code of this file.
Namespaces | |
| repair | |
| Repair and validate API parameter compatibility issues | |
Functions | |
| def | findName (pos, dic) |
| Find parameter name by its position 通过位置查找参数名 More... | |
| def | fix (callAPI, repairDict, node, starFlag, twoStarFlag) |
| Perform parameter repair operations through AST 通过AST执行参数修复操作 More... | |
| def | mapName (name, dic) |
| Get repair operation dictionary of keyword parameter 获取关键字参数的修复操作字典 More... | |
| def | mapPos (pos, dic) |
| Get repair operation dictionary of positional parameter 获取位置参数的修复操作字典 More... | |
| def | mirrorAPI (fixedAPI, dic) |
| Create mirror for the fixed API by adding all parameter names 给修复后API的参数填上参数名 More... | |
| def | repairTask (root, callAPI, apiWithValue, projName, runPath, runCommand, repairLst, virtualEnv, errLst, callKey, *runtimePaths) |
| Task of repairing parameter compatibility issues 参数兼容性问题修复任务 More... | |
| def | validateByRun (callAPI, apiWithValue, projName, virtualEnv, runPath, runCommand, callKey, *runtimePaths) |
| Dynamic validation 动态验证 More... | |
| def | validateByStr (fixedAPI, repairDict, targetAPIDefinition, starFlag, twoStarFlag) |
| Static validation 静态验证 More... | |