Mark Slee | e129a2d | 2007-02-21 05:17:48 +0000 | [diff] [blame] | 1 | |
| 2 | struct Goodbyez { |
| 3 | 1: i32 val = 325; |
Mark Slee | 9e288d4 | 2007-01-24 23:42:12 +0000 | [diff] [blame] | 4 | } |
| 5 | |
Mark Slee | e129a2d | 2007-02-21 05:17:48 +0000 | [diff] [blame] | 6 | senum Thinger { |
| 7 | "ASDFKJ", |
| 8 | "r32)*F#@", |
| 9 | "ASDFLJASDF" |
| 10 | } |
| 11 | |
| 12 | struct Hello { |
| 13 | 1: i32 simple = 53, |
| 14 | 2: map<i32,i32> complex = {23:532, 6243:632, 2355:532}, |
| 15 | 3: map<i32, map<i32,i32>> complexer, |
| 16 | 4: string words = "words", |
| 17 | 5: Goodbyez thinz = {'val' : 36632} |
| 18 | } |
| 19 | |
| 20 | const map<i32,map<i32,i32>> CMAP = { 235: {235:235}, 53:{53:53} } |
| 21 | const i32 CINT = 325; |
| 22 | const Hello WHOA = {'simple' : 532} |
| 23 | |
Mark Slee | 9e288d4 | 2007-01-24 23:42:12 +0000 | [diff] [blame] | 24 | exception Goodbye { |
| 25 | 1: i32 simple, |
| 26 | 2: map<i32,i32> complex, |
| 27 | 3: map<i32, map<i32,i32>> complexer, |
| 28 | } |
| 29 | |
| 30 | service SmallService { |
Mark Slee | e129a2d | 2007-02-21 05:17:48 +0000 | [diff] [blame] | 31 | Thinger testThinger(1:Thinger bootz), |
| 32 | Hello testMe(1:i32 hello=64, 2: Hello wonk) throws (1: Goodbye g), |
Mark Slee | 9e288d4 | 2007-01-24 23:42:12 +0000 | [diff] [blame] | 33 | void testVoid() throws (1: Goodbye g), |
| 34 | i32 testI32(1:i32 boo) |
| 35 | } |