MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / SetHexFormat

Method SetHexFormat

user/config/config_point_arg.go:76–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74}
75
76func (this *PointArg) SetHexFormat() {
77 at := argtype.GetArgType(this.TypeIndex)
78 if at.GetParentIndex() == ARRAY {
79 return
80 }
81 this.TypeIndex = argtype.R_NUM_HEX(this.TypeIndex).GetTypeIndex()
82}
83
84func (this *PointArg) ToPointerType() {
85 // 暂时仅限数字类型

Callers 2

GetPointArgMethod · 0.95
ParseArgTypeMethod · 0.80

Calls 4

GetArgTypeFunction · 0.92
R_NUM_HEXFunction · 0.92
GetParentIndexMethod · 0.65
GetTypeIndexMethod · 0.65

Tested by

no test coverage detected