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

Parameter class for Library APIs API参数类 More...

Public Member Functions

def __eq__ (self, other)
 Determine whether two parameter objects are equal 判断两个参数对象是否相等 More...
 
def __hash__ (self)
 Return the hash value of the parameter 返回参数哈希值 More...
 
def __init__ (self)
 The constructor 构造函数 More...
 
def __repr__ (self)
 Return the string representation of the parameter 返回参数的字符串表示形式 More...
 

Public Attributes

 fullItem
 The full string of the parameter 参数字符串 More...
 
 name
 The parameter name 参数名称 More...
 
 position
 The parameter position 参数位置 More...
 
 star_position
 The star symbol position 星号位置 More...
 
 type
 The parameter type 参数类型 More...
 
 value
 The parameter default value 参数默认值 More...
 

Detailed Description

Parameter class for Library APIs API参数类

Parameter object: for storing the information of one parameter 参数对象:用于保存一个参数的信息

Definition at line 24 of file LibApi.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

The constructor 构造函数

Definition at line 28 of file LibApi.py.

Member Function Documentation

◆ __eq__()

def __eq__ (   self,
  other 
)

Determine whether two parameter objects are equal 判断两个参数对象是否相等

Parameters
otherThe parameter object to compare
Returns
True if the parameter names are equal

Definition at line 64 of file LibApi.py.

◆ __hash__()

def __hash__ (   self)

Return the hash value of the parameter 返回参数哈希值

Returns
Hash value of the parameter name

Definition at line 57 of file LibApi.py.

◆ __repr__()

def __repr__ (   self)

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

Returns
Original parameter string

Definition at line 70 of file LibApi.py.

Member Data Documentation

◆ fullItem

fullItem

The full string of the parameter 参数字符串

Definition at line 32 of file LibApi.py.

◆ name

name

The parameter name 参数名称

Definition at line 36 of file LibApi.py.

◆ position

position

The parameter position 参数位置

Definition at line 40 of file LibApi.py.

◆ star_position

star_position

The star symbol position 星号位置

Definition at line 52 of file LibApi.py.

◆ type

type

The parameter type 参数类型

Definition at line 48 of file LibApi.py.

◆ value

value

The parameter default value 参数默认值

Definition at line 44 of file LibApi.py.


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