|
PCART
v1.4
Automated Repair of Python API Parameter Compatibility Issues
|
API class for storing a single API definition API类,用于存储单个API的定义 More...
Public Member Functions | |
| def | __eq__ (self, other) |
| Determine equality based on the parameters string 基于参数字符串判断两个API是否相同 More... | |
| def | __hash__ (self) |
| Return the hash value based on the parameters string 基于参数字符串返回哈希值 More... | |
| def | __init__ (self) |
| Initialize the API fields 初始化API字段 More... | |
| def | __repr__ (self) |
| Return the full API string as the representation 返回完整API字符串作为对象表示形式 More... | |
Public Attributes | |
| full_item | |
| The full API string including name and parameters API完整字符串,包含名称和参数 More... | |
| name | |
| The API name without parameters API名称(不含参数) More... | |
| parameters | |
| List of Parameter objects 参数对象列表 More... | |
| parameters_string | |
| All parameters stored as a single string 所有参数保存为单个字符串 More... | |
| rType | |
| The return type annotation (if any) 返回值类型注释(如有) More... | |
| version | |
| The library version 库版本 More... | |
API class for storing a single API definition API类,用于存储单个API的定义
Currently only considers changes to APIs with the same name. 暂时只考虑同名Api的变更情况
| def __eq__ | ( | self, | |
| other | |||
| ) |
| def __hash__ | ( | self | ) |
| def __repr__ | ( | self | ) |
| full_item |
| parameters_string |