Structure
ECoreQuery
Query framework for ECore models inspired by OCL.
struct ECoreQuery
Overview
The query framework provides a higher-level interface for model querying, supporting OCL-like expressions whilst maintaining type safety and performance. Queries are parsed into expression trees and evaluated using the core execution engine.
Topics
Initializers
?
init(_:context:)
Creates a new query with the given expression.
Instance Properties
V
contextType
Optional context type for ‘self’ binding.
V
expression
The query expression string.
Type Methods
?
call(from:property:method:)
Create a method call query.
?
literal(_:)
Create a literal value query.
?
navigate(from:to:)
Create a navigation query.
Default Implementations
Relationships
Conforms To
See Also
Query and Execution
?
ECoreExecutionEngine
Core execution engine providing model navigation and query capabilities.
P
IModel
Protocol abstracting model access for transformation engines.