|
PCART
v1.4
Automated Repair of Python API Parameter Compatibility Issues
|
Callsite identity class 调用点身份类 More...
Public Member Functions | |
| def | artifactHash (self) |
| Return stable artifact hash for a callsite 返回调用点稳定运行产物hash. More... | |
| def | artifactId (self) |
| Return stable readable artifact id for a callsite 返回调用点稳定可读运行产物id. More... | |
| def | artifactPayload (self) |
| The relative path from project root 相对于项目根目录的文件路径 More... | |
Callsite identity class 调用点身份类
A CallsiteIdentity describes one AST Call node with project-relative path, source span and normalized call text. CallsiteIdentity使用项目相对路径、源码位置和归一化调用文本描述一个AST调用节点。
Definition at line 29 of file callsite.py.
| def artifactHash | ( | self | ) |
Return stable artifact hash for a callsite 返回调用点稳定运行产物hash.
Definition at line 72 of file callsite.py.
| def artifactId | ( | self | ) |
Return stable readable artifact id for a callsite 返回调用点稳定可读运行产物id.
Definition at line 82 of file callsite.py.
| def artifactPayload | ( | self | ) |
The relative path from project root 相对于项目根目录的文件路径
The line number of AST Call node AST调用节点所在行号
The column offset of AST Call node AST调用节点所在列偏移
The end line number of AST Call node AST调用节点结束行号
The end column offset of AST Call node AST调用节点结束列偏移
The original call text used for report display 报告展示用的原始调用文本
The normalized call text used for identity generation 生成调用点身份用的归一化调用文本
Return the payload used to generate artifact id 返回用于生成运行产物id的数据
Definition at line 60 of file callsite.py.