samples/xmi2idl.uml2
author Volker Birk <vb@pep.foundation>
Thu, 08 Jun 2017 23:30:58 +0200
changeset 11 7026ccc7a60e
parent 0 76005e62091d
permissions -rw-r--r--
workaround is harmful now, bug does not exist any more
include uml.yml2

UML {
    include uml2idl.yml2

    Root apply "packagedElement", 0;

    Package {
        | module «@name» {
        applyClass;
        | };
    }

    Class("@stereotype='Struct'") {
        | interface «@name» {
        applyAttributes;
        | };
    }

    Attribute | attribute †type «@name»;
}