Removed unneeded accessors for complex default value maps
This commit is contained in:
parent
28312f1c7f
commit
6e7a38a7a9
@ -125,26 +125,6 @@ func (member TypeMember) BitWidth () (width uint64) {
|
||||
return
|
||||
}
|
||||
|
||||
// Values returns an iterator for the initialization values.
|
||||
func (values ObjectDefaultValues) Sections () (
|
||||
iterator types.Iterator[Argument],
|
||||
) {
|
||||
iterator = types.NewIterator(values.attributes)
|
||||
return
|
||||
}
|
||||
|
||||
// Length returns the amount of values.
|
||||
func (values ArrayDefaultValues) Length () (length int) {
|
||||
length = len(values.values)
|
||||
return
|
||||
}
|
||||
|
||||
// Item returns the value at index.
|
||||
func (values ArrayDefaultValues) Value (index int) (value Argument) {
|
||||
value = values.values[index]
|
||||
return
|
||||
}
|
||||
|
||||
// Kind returns what kind of argument it is.
|
||||
func (argument Argument) Kind () (kind ArgumentKind) {
|
||||
kind = argument.kind
|
||||
|
Reference in New Issue
Block a user