func (sas SpaceAddresses) AllMatchingScope(getMatcher ScopeMatchFunc) SpaceAddresses {
	indexes := indexesForScope(len(sas), func(i int) Address { return sas[i] }, getMatcher)
	if len(indexes) == 0 {
		return nil
	}
	out := make(SpaceAddresses, len(indexes))
	for i, index := range indexes {
		out[i] = sas[index]
	}
	return out
}
// AllMatchingScope returns the addresses that best satisfy the input scope
// matching function.
AllMatchingScope returns the addresses that best satisfy the input scope
matching function.
// AllMatchingScope returns the addresses that best satisfy the input scope // matching function .
func (sas SpaceAddresses) AllMatchingScope(getMatcher ScopeMatchFunc) SpaceAddresses {
	indexes := indexesForScope(len(sas), func(i int) Address { return sas[i] }, getMatcher)
	if len(indexes) == 0 {
		return nil
	}
	out := make(SpaceAddresses, len(indexes))
	for i, index := range indexes {
		out[i] = sas[index]
	}
	return out
}
func ( sas SpaceAddresses ) AllMatchingScope ( getMatcher ScopeMatchFunc ) SpaceAddresses { indexes := indexesForScope ( len ( sas ) , func ( i int ) Address { return sas [ i ] } , getMatcher ) if len ( indexes ) == 0 { return nil } out := make ( SpaceAddresses , len ( indexes ) ) for i , index := range indexes { out [ i ] = sas [ index ] } return out }
AllMatchingScope returns the addresses that best satisfy the input scope
matching function.
AllMatchingScope returns the addresses that best satisfy the input scope matching function .