Method
evaluate(_:on:)
Evaluate a query on the given object.
func evaluate(_ query: ECoreQuery, on object: any EObject) async throws -> (any EcoreValue)?
Parameters
query-
The query to evaluate
object-
The object to evaluate the query against (becomes ‘self’)
Return Value
The query result