Documentation Language: Swift

Method

navigate(from:property:)

Navigate a property from a source object.

func navigate(from source: any EObject, property: String) async throws -> (any EcoreValue)?

Parameters

source

The source EObject to navigate from

property

The name of the property to navigate

Return Value

The property value, which may be a primitive, EObject, or collection

Discussion

This method provides type-safe property navigation with automatic caching and cross-reference resolution. It handles both attributes and references, including collection-valued properties.