Documentation Language: Swift

Method

evaluate(_:context:)

Evaluate a query with custom variable bindings.

func evaluate(_ query: ECoreQuery, context: [String : any EcoreValue]) async throws -> (any EcoreValue)?

Parameters

query

The query to evaluate

context

Variable bindings for evaluation

Return Value

The query result

Discussion