Removed unneeded accessors for complex default value maps

This commit is contained in:
Sasha Koshka 2022-09-15 14:55:41 -04:00
parent 28312f1c7f
commit 6e7a38a7a9
1 changed files with 0 additions and 20 deletions

View File

@ -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