Structure
EcoreValueArray
Wrapper for arrays of EcoreValue to enable EcoreValue conformance.
struct EcoreValueArray
Overview
This wrapper allows [any EcoreValue] collections to conform to EcoreValue, which isn’t possible with conditional extensions due to Swift’s type system. It provides proper equality and hashing semantics for heterogeneous collections.
Topics
Operators
?
==(_:_:)
Compares two EcoreValueArray instances for equality.
Initializers
?
init(_:)
Creates a new EcoreValueArray wrapping the given values.
Instance Properties
V
values
The underlying array of EcoreValue instances.
Instance Methods
F
hash(into:)
Hashes the EcoreValueArray using its elements.