HomePhabricator

eolian: add support for composite section into regular classes

Authored by q66 on Jan 18 2019, 8:24 AM.

Description

eolian: add support for composite section into regular classes

Each regular class can now have a section called 'composite',
which can contain interfaces and interfaces only. This defines
a list of interfaces that are allowed to be unimplemented on the
class, as it is assumed the class will be composited with some
other class implementing those interfaces.

Only regular classes can have this, as only regular classes can
be instantiated.

It will also be necessary to check whether the classes in the
section appear somewhere within the inheritance tree. For now,
this testing is not being done.

Example of usage:

composite {

Some.Magic.Interface;
Another.Magic.Interface;

}

directly in the class body.

Details

Committed
q66Jan 21 2019, 8:19 AM
Parents
rEFLdab4d8d8a446: elm_panel: show/hide panel according to hidden status
Branches
Unknown
Tags
Unknown