summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/ctor_dtor.eo
blob: 256dcc0a4d74cc829b70f611f995f2463e01e353 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class Ctor_Dtor extends Base {
   methods {
      custom_constructor_1 {
         params {
            @in a: int;
            @in b: char;
         }
      }
      custom_constructor_2 {
      }
      custom_constructor_3 {
         params {
            @in z: int;
         }
      }
   }
   implements {
      class.constructor;
      class.destructor;
      Base.constructor;
      Base.destructor;
   }
   constructors {
      .custom_constructor_1;
      .custom_constructor_2 @optional;
      .custom_constructor_3 @ctor_param;
   }
}