Method
eSet(_:_:)
Reflectively set the value of a feature.
mutating func eSet(_ feature: some EStructuralFeature, _ value: (any EcoreValue)?)
Parameters
feature-
The structural feature to modify.
value-
The new value, or
nilto unset.
Discussion
Provides dynamic modification of feature values using internal storage. Setting a value to nil has the same effect as calling eUnset(_:).