samples/xmi2idl.uml2
author Volker Birk <vb@pep.foundation>
Wed, 29 Aug 2018 23:53:30 +0200
changeset 21 5df774142d74
parent 0 76005e62091d
permissions -rw-r--r--
Added tag 2.5.8 for changeset 172da49a35f6
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»;
}