PCART  v1.4
Automated Repair of Python API Parameter Compatibility Issues
Namespaces | Functions
map.py File Reference

Go to the source code of this file.

Namespaces

 map
 Dynamic mapping and static mapping of API parameter definitions

 

Functions

def dynamicMatch (callAPI, runCommand, runPath, projName, copyFile, version, virtualEnv, lock, errLst, curr=1, *callKey, runtimePaths)
 Dynamic mapping of API signatures API签名动态匹配 More...
 
def fuzzymatch (formatAPI, libName, version, builtinFlag)
 Static mapping of API signatures API签名静态匹配 More...
 
def hasSaveFailedManifest (pklKey, *runtimePaths)
 Check whether a callsite candidate manifest records pkl save failure 检查调用点候选清单是否记录了pkl保存失败 More...
 
def isAlias (callApi, assignDict)
 Check whether the last name in an API call is an alias 判断一个callAPI最后一个名字是否为库中的别名 More...
 
def mapAPI (callAPI, runCommand, runPath, formatAPI, projName, libName, copyFile, version, virtualEnv, lock, errLst, curr=1, *callKey, runtimePaths)
 Construct the mapping between the invoked API and the lib API to obtain its signature 建立invoked API与 lib API之间的映射关系,从而获取其参数定义 More...
 
def saveDynamicMatchSnapshot (pklKey, version, curr, dynamicMatchDict, pklFile=None, *runtimePaths)
 Save dynamic match result snapshot 保存动态匹配结果快照 More...