Documentation Language: Swift

Method

set(name:value:)

Sets the value for a feature by name.

mutating func set(name: String, value: (any EcoreValue)?)

Parameters

name

The name of the feature to set.

value

The new value, or nil to unset.

Discussion

This is used for dynamic features that don’t have defined EStructuralFeature objects.