• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1namespace Evolution.V1;
2
3table TableA {
4    a:float;
5    b:int;
6}
7
8table TableB {
9    a:int;
10}
11
12enum Enum : byte {
13    King,
14    Queen
15}
16
17union Union {
18    TableA,
19    TableB
20}
21
22struct Struct {
23    a:int;
24    b:double;
25}
26
27table Root {
28    a:int;
29    b:bool;
30    c:Union;
31    d:Enum;
32    e:TableA;
33    f:Struct;
34    g:[int];
35    h:[TableB];
36    i:int = 1234;
37}
38
39root_type Root;