blob: 7adeb7e65b84f35c613eb0fe3066dc7a4a295fe5 [file] [log] [blame]
Anthony F. Molinaro3bba2142012-03-22 06:48:33 +00001struct StructB
2{
3 1: string x
4}
5
Anthony F. Molinaro31835142012-03-22 06:23:36 +00006struct StructA
7{
8 1: string a,
9 2: binary b,
10 3: optional string c,
11 4: optional binary d,
12 5: required string e,
13 6: required binary f,
14 7: string g = "foo",
15 8: i32 h,
16 9: optional i32 i,
17 10: required i32 j,
18 11: required i32 k = 5,
19 12: double l,
20 13: optional double m,
21 14: required double n,
22 15: double o = 3.14159,
23 16: list<string> string_list,
24 17: list<byte> byte_list = [1, 2, 3],
Anthony F. Molinaro3bba2142012-03-22 06:48:33 +000025 18: required list<string> rsl,
26 19: optional list<string> osl,
27 20: set<string> string_set,
28 21: required set<string> rss,
29 22: optional set<string> oss,
30 23: map<string, string> string_map,
31 24: required map<string, string> rsm,
32 25: optional map<string, string> osm,
33 26: StructB structb
Anthony F. Molinaro31835142012-03-22 06:23:36 +000034}