PCART  v1.4
Automated Repair of Python API Parameter Compatibility Issues
Public Member Functions | Public Attributes | List of all members
Update Class Reference

Update class for parameter change analysis 参数变更分析类 More...

Public Member Functions

def __init__ (self)
 The constructor 构造函数 More...
 
def __repr__ (self)
 Return the string representation of the parameter update 返回参数变更的字符串表示形式 More...
 

Public Attributes

 addKey
 New keyword parameter 新增关键字参数 More...
 
 addPos
 New positional parameter 新增位置参数 More...
 
 dele
 Flag (1) of parameter deletion 参数删除标记 (1) More...
 
 key2pos
 Conversion of keyword parameter to positional parameter 关键字参数变更为位置参数 More...
 
 pos
 New position of the parameter 参数新位置 More...
 
 pos2key
 Conversion of positional parameter to keyword parameter 位置参数变更为关键字参数 More...
 
 rename
 New name of the parameter 参数重命名 More...
 
 rep
 Replacement of the parameter 参数替换 More...
 
 type
 New type of the parameter 参数新类型 More...
 
 value
 New default value of the parameter 参数新默认值 More...
 

Detailed Description

Update class for parameter change analysis 参数变更分析类

Record parameter change type information by comparing the old and the new parameters 通过比较新旧参数记录参数变更类型信息

Definition at line 27 of file changeAnalyze.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

The constructor 构造函数

Definition at line 31 of file changeAnalyze.py.

Member Function Documentation

◆ __repr__()

def __repr__ (   self)

Return the string representation of the parameter update 返回参数变更的字符串表示形式

Definition at line 81 of file changeAnalyze.py.

Member Data Documentation

◆ addKey

addKey

New keyword parameter 新增关键字参数

Definition at line 67 of file changeAnalyze.py.

◆ addPos

addPos

New positional parameter 新增位置参数

Definition at line 63 of file changeAnalyze.py.

◆ dele

dele

Flag (1) of parameter deletion 参数删除标记 (1)

Definition at line 59 of file changeAnalyze.py.

◆ key2pos

key2pos

Conversion of keyword parameter to positional parameter 关键字参数变更为位置参数

Definition at line 75 of file changeAnalyze.py.

◆ pos

pos

New position of the parameter 参数新位置

Definition at line 35 of file changeAnalyze.py.

◆ pos2key

pos2key

Conversion of positional parameter to keyword parameter 位置参数变更为关键字参数

Definition at line 71 of file changeAnalyze.py.

◆ rename

rename

New name of the parameter 参数重命名

Definition at line 43 of file changeAnalyze.py.

◆ rep

rep

Replacement of the parameter 参数替换

Definition at line 47 of file changeAnalyze.py.

◆ type

type

New type of the parameter 参数新类型

Definition at line 39 of file changeAnalyze.py.

◆ value

value

New default value of the parameter 参数新默认值

Detection and repair of default value changes are not yet implemented. The field is reserved for future use. 默认值变更的检测和修复尚未实现。此字段保留供将来使用。

Definition at line 55 of file changeAnalyze.py.


The documentation for this class was generated from the following file: