CLARK, Tony (2013). OCL Pattern Matching. In: 13th International Workshop on OCL, Model Constraint and Query Languages (OCL 2013, Miami, Florida, 30 September 2013. 33-42. [Conference or Workshop Item]
Abstract
This paper proposes an extension to OCL that addresses a concern regarding the proliferation of navigation expressions that occur when expressing predicates over objects. Declarative patterns are introduced that can be used to match against object structures so that repeated variables reduce the need for lengthy repeated navigation expressions. Patterns provide the basis for a further contribution that shows how objects can be used as functions.
More Information
Share
Actions (login required)
View Item |