aboutsummaryrefslogtreecommitdiff
path: root/src/type.hff
blob: ce0406348fd460d3994c7beb7a9ae308154f4dfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct Type {
   size  usize,
   align usize,
   konst bool,
   id    uint,
   u enum union {
      Void,
      Bool,
      Int struct { sgn bool },
      Flo,
      Ptr *Type,
      Arr struct { child *Type, length i64  },
      Slice *Type,
   }
}