summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/complex_type.eo
blob: 1c8c30823af18802d86d37b1ee776fbcb9677f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class Complex_Type {
   methods {
      @property a {
         set {
            return: list<array<strbuf @owned> > @owned;
         }
         get {
         }
         values {
            value: list<string> @owned;
         }
      }
      foo {
         params {
            buf: mstring @owned;
            sl: slice<ubyte>;
         }
         return: list<stringshare> @owned; [[comment for method return]]
      }
   }
}