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

Go to the source code of this file.

Classes

class  CallsiteIdentity
 Callsite identity class 调用点身份类 More...
 
class  CallsiteRecord
 Callsite record class 调用点记录类 More...
 

Namespaces

 callsite
 Provide structured callsite identity helpers.
 

Functions

def makeCallsiteRecord (file_path, call_text, format_api, parameters, lineno, col_offset, end_lineno=None, end_col_offset=None, proj_path=None)
 Make callsite record 构造调用点记录 More...
 
def normalizeCallText (call_text)
 Normalize call text for identity generation 归一化调用文本,用于生成调用点身份 More...
 
def normalizeRelPath (file_path, proj_path=None)
 Normalize source file path to project relative path 将源码路径归一化为项目相对路径 More...