Documentation Language: Swift

Method

eGet(_:)

Reflectively retrieve the value of a feature.

func eGet(_ feature: some EStructuralFeature) -> (any EcoreValue)?

Parameters

feature

The structural feature whose value to retrieve.

Return Value

The feature’s current value, or nil if not set.

Discussion

Provides dynamic access to feature values using internal storage, allowing feature access without compile-time knowledge of the feature.