samples/xmi2idl.uml2
author Volker Birk <vb@pep-project.org>
Fri, 11 Oct 2019 22:56:23 +0200
changeset 35 5414b157613a
parent 0 76005e62091d
permissions -rw-r--r--
bug: textsectionu disappeared
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»;
}