Skip to content

#593 Add AnnotatedObject to CIF metamodel and Declaration extends it

Dennis Hendriks requested to merge 593-add-annotations-to-input-variables into develop
  • AnnotatedObject is similar to PositionObject. It is a base class for all annotated objects. AnnotatedObject extends PositionObject.
  • Declaration now extends AnnotatedObject instead of PositionObject. I wanted to do this for InputVariable. Ecore supports multiple inheritance (Declaration and AnnotatedObject), but our own tooling (such as LaTeX generation) don't support it.
  • Added a metamodel constraint that we only allow it for input variables, for now.
  • Best to review per commit.

Addresses #593 (closed)

Merge request reports