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

Go to the source code of this file.

Namespaces

 loadData
 Provide utility functions for loading and processing lib APIs.
 

Functions

def func (libApiObjLst, libApiName)
 Get all overloaded API strings for a given API name 获取给定API名称的所有重载API字符串 More...
 
def getAPILst (filePath)
 Parse API list from a library extraction file 从库API提取文件中解析API列表 More...
 
def lib2json (sourceFilePath, saveFilePath)
 Traverse all library API versions and consolidate into a JSON file 遍历所有版本的库API,将其整理成一个json格式的文件 More...
 
def loadLib (libName, version)
 Load the extracted definitions of lib APIs for static signature mapping 把之前抽取出来的库API加载到字典中,在项目API与库API匹配的时候需要用到 More...