The ability declaration defines the name and the request operations of an ability. It also specifies if an ability is unique by its name or structural.
It takes the following general form:
unique|structural ability A p_1 p_2 … p_n where
Request_1 : Type_1
Request_2 : Type_2
Request_n : Type_n
This declares an ability type constructorA
with type parametersp_1
throughp_n
,and request constructorsRequest_1
throughRequest_n
Examples