Documentation Language: Swift

Method

eSet(_:_:)

Reflectively sets 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 nil to unset.

Discussion

This method provides dynamic modification of the package’s properties. Setting a value to nil has the same effect as calling eUnset(_:).