Documentation Language: Swift

Method

eGet(_:)

Reflectively retrieves 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

This method provides dynamic access to the package’s properties without requiring compile-time knowledge of the feature.