samples/dingens.idl
author Volker Birk <vb@pep.foundation>
Wed, 29 Aug 2018 23:53:10 +0200
changeset 20 c936066cff62
parent 0 76005e62091d
permissions -rw-r--r--
keywords as values in decl parameters
0
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     1
module Bla {
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     2
    struct Blub {
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     3
        long a;
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     4
        string b;
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     5
    };
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     6
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     7
    interface Blubber {
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     8
        Blub getBlub();
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
     9
    };
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    10
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    11
    typedef My::Complicated::Reachable::Thing Thing;
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    12
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    13
    interface Irgendwas {
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    14
        struct Bla {
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    15
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    16
        };
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    17
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    18
        readonly attribute Thing b;
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    19
    };
76005e62091d initial commit
Volker Birk <vb@pep-project.org>
parents:
diff changeset
    20
};