summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/override.eo
blob: 16ed52981c9d9b30387128aa0ecd171c229672a5 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
class Override (Base) {
   methods {
      @property a {
         set @pure_virtual {
         }
         get {
         }
      }
      @property b {
         set {
         }
         get {
         }
         keys {
              idx: int;
         }
         values {
              a: float;
              b: char;
              c: int;
         }
      }
      @property c {
         set {
         }
         get {
         }
         keys {
              idx: int;
         }
         values {
              c: int(50);
         }
      }
      foo @pure_virtual {
      }
      bar {
           params {
                @in idx: int;
                @out a: int (250);
                @out str: ptr(char) (null);
           }
      }
   }
   implements {
      Base.constructor; [[overridden docs for constructor]]
      @auto .b { set; }
      @empty .bar;
      @auto .c { get; }
      @auto Base.z {
         [[overridden general property docs]]
         get; [[overridden get docs]]
         set; [[overridden set docs]]
      }
   }
}