Documentation Language: Swift

Method

createEEnum(from:shouldIgnoreUnresolvedLiterals:)

Create an EEnum from a DynamicEObject with full cross-reference resolution.

func createEEnum(from object: any EObject, shouldIgnoreUnresolvedLiterals: Bool = false) async throws -> EEnum

Parameters

object

The DynamicEObject representing an EEnum.

shouldIgnoreUnresolvedLiterals

If true, continues processing when literal resolution fails; if false, throws on resolution failure (default: false).

Return Value

A fully constructed EEnum with all literals resolved.

Discussion

This method constructs an EEnum by resolving enum literals through UUID-based cross-references when necessary.