cfad47cfa3/t3compiler/tads3/test/data/fi_tst_1.t
| 4b825dc642cb6eb9a060e54bf8d69288fbee4904 | cfad47cfa334b206c65f22086bcc5d63e6f70944 | ||
|---|---|---|---|
1 | #include "fi_util.h" | ||
2 | |||
3 | main( args ) { | ||
4 | "<< littleBlueBall._name >>"; | ||
5 | } | ||
6 | |||
7 | class Item: object | ||
8 | ; | ||
9 | |||
10 | class Ball: Item | ||
11 | ; | ||
12 | |||
13 | class RedBall: Ball | ||
14 | _init_RedBall() { | ||
15 | "\n_init_RedBall: << _name >>"; | ||
16 | } | ||
17 | ; | ||
18 | |||
19 | class BlueBall: Ball | ||
20 | _init_BlueBall() { | ||
21 | "\n_init_BlueBall: << _name >>"; | ||
22 | } | ||
23 | |||
24 | _init_Ball() { | ||
25 | "\n_init_Ball (in BlueBall): << _name >>"; | ||
26 | } | ||
27 | ; | ||
28 | |||
29 | littleBlueBall: BlueBall; | ||
30 | bigBlueBall: BlueBall; | ||
31 | littleRedBall: RedBall; | ||
32 | bigRedBall: RedBall; | ||
33 |
Download diff