Merge: gamnit: bug fixes, updated doc and prepare iOS support
[nit.git] / src / doc / templates / tests / test_templates_json.sav / test_classdefs_to_full_json.res
1 {
2         "name": "Object",
3         "synopsis": "Root of everything.",
4         "namespace": [{
5                 "name": "test_prog",
6                 "synopsis": "Test program for model tools."
7         }, "$", {
8                 "name": "Object",
9                 "synopsis": "Root of everything."
10         }],
11         "class_name": "MClassDef",
12         "full_name": "test_prog$Object",
13         "visibility": "public",
14         "html_synopsis": "<span class=\"synopsys nitdoc\">Root of everything.</span>",
15         "modifiers": ["interface"],
16         "is_intro": true
17 }
18 {
19         "name": "Int",
20         "synopsis": "Some services about Integers.",
21         "namespace": [{
22                 "name": "test_prog",
23                 "synopsis": "Test program for model tools."
24         }, "$", {
25                 "name": "Int",
26                 "synopsis": "Some services about Integers."
27         }],
28         "class_name": "MClassDef",
29         "full_name": "test_prog$Int",
30         "visibility": "public",
31         "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>",
32         "modifiers": ["class"],
33         "is_intro": true
34 }
35 {
36         "name": "Float",
37         "synopsis": "Some services about Floats.",
38         "namespace": [{
39                 "name": "test_prog",
40                 "synopsis": "Test program for model tools."
41         }, "$", {
42                 "name": "Float",
43                 "synopsis": "Some services about Floats."
44         }],
45         "class_name": "MClassDef",
46         "full_name": "test_prog$Float",
47         "visibility": "public",
48         "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Floats.</span>",
49         "modifiers": ["class"],
50         "is_intro": true
51 }
52 {
53         "name": "Bool",
54         "synopsis": "Booleans, `true` or `false`.",
55         "namespace": [{
56                 "name": "test_prog",
57                 "synopsis": "Test program for model tools."
58         }, "$", {
59                 "name": "Bool",
60                 "synopsis": "Booleans, `true` or `false`."
61         }],
62         "class_name": "MClassDef",
63         "full_name": "test_prog$Bool",
64         "visibility": "public",
65         "html_synopsis": "<span class=\"synopsys nitdoc\">Booleans, <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_k\">true</span></span></span></code> or <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_k\">false</span></span></span></code>.</span>",
66         "modifiers": ["class"],
67         "is_intro": true
68 }
69 {
70         "name": "String",
71         "synopsis": "Strings (there is no chars...).",
72         "namespace": [{
73                 "name": "test_prog",
74                 "synopsis": "Test program for model tools."
75         }, "$", {
76                 "name": "String",
77                 "synopsis": "Strings (there is no chars...)."
78         }],
79         "class_name": "MClassDef",
80         "full_name": "test_prog$String",
81         "visibility": "public",
82         "html_synopsis": "<span class=\"synopsys nitdoc\">Strings (there is no chars...).</span>",
83         "modifiers": ["class"],
84         "is_intro": true
85 }
86 {
87         "name": "List",
88         "synopsis": "List of things.",
89         "namespace": [{
90                 "name": "test_prog",
91                 "synopsis": "Test program for model tools."
92         }, "$", {
93                 "name": "List",
94                 "synopsis": "List of things."
95         }],
96         "class_name": "MClassDef",
97         "full_name": "test_prog$List",
98         "visibility": "public",
99         "html_synopsis": "<span class=\"synopsys nitdoc\">List of things.</span>",
100         "modifiers": ["class"],
101         "is_intro": true,
102         "mparameters": [{
103                 "name": "E",
104                 "mtype": {
105                         "name": "nullable Object",
106                         "synopsis": "Root of everything.",
107                         "html_synopsis": "<span class=\"synopsys nitdoc\">Root of everything.</span>"
108                 }
109         }]
110 }
111 {
112         "name": "Career",
113         "synopsis": "A `Career` gives a characteristic bonus or malus to the character.",
114         "namespace": [{
115                 "name": "test_prog",
116                 "synopsis": "Test program for model tools."
117         }, "$", {
118                 "name": "Career",
119                 "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
120         }],
121         "class_name": "MClassDef",
122         "full_name": "test_prog$Career",
123         "visibility": "public",
124         "html_synopsis": "<span class=\"synopsys nitdoc\">A <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_t\">Career</span></span></span></code> gives a characteristic bonus or malus to the character.</span>",
125         "modifiers": ["abstract class"],
126         "is_intro": true
127 }
128 {
129         "name": "Warrior",
130         "synopsis": "Warriors are good for fighting.",
131         "namespace": [{
132                 "name": "test_prog",
133                 "synopsis": "Test program for model tools."
134         }, "$", {
135                 "name": "Warrior",
136                 "synopsis": "Warriors are good for fighting."
137         }],
138         "class_name": "MClassDef",
139         "full_name": "test_prog$Warrior",
140         "visibility": "public",
141         "html_synopsis": "<span class=\"synopsys nitdoc\">Warriors are good for fighting.</span>",
142         "modifiers": ["class"],
143         "is_intro": true
144 }
145 {
146         "name": "Magician",
147         "synopsis": "Magicians know magic and how to use it.",
148         "namespace": [{
149                 "name": "test_prog",
150                 "synopsis": "Test program for model tools."
151         }, "$", {
152                 "name": "Magician",
153                 "synopsis": "Magicians know magic and how to use it."
154         }],
155         "class_name": "MClassDef",
156         "full_name": "test_prog$Magician",
157         "visibility": "public",
158         "html_synopsis": "<span class=\"synopsys nitdoc\">Magicians know magic and how to use it.</span>",
159         "modifiers": ["class"],
160         "is_intro": true
161 }
162 {
163         "name": "Alcoholic",
164         "synopsis": "Alcoholics are good to nothing escept taking punches.",
165         "namespace": [{
166                 "name": "test_prog",
167                 "synopsis": "Test program for model tools."
168         }, "$", {
169                 "name": "Alcoholic",
170                 "synopsis": "Alcoholics are good to nothing escept taking punches."
171         }],
172         "class_name": "MClassDef",
173         "full_name": "test_prog$Alcoholic",
174         "visibility": "public",
175         "html_synopsis": "<span class=\"synopsys nitdoc\">Alcoholics are good to nothing escept taking punches.</span>",
176         "modifiers": ["class"],
177         "is_intro": true
178 }
179 {
180         "name": "Race",
181         "synopsis": "Race determines basic characteristics and what the character will be able to do in life.",
182         "namespace": [{
183                 "name": "test_prog",
184                 "synopsis": "Test program for model tools."
185         }, "$", {
186                 "name": "Race",
187                 "synopsis": "Race determines basic characteristics and what the character will be able to do in life."
188         }],
189         "class_name": "MClassDef",
190         "full_name": "test_prog$Race",
191         "visibility": "public",
192         "html_synopsis": "<span class=\"synopsys nitdoc\">Race determines basic characteristics and what the character will be able to do in life.</span>",
193         "modifiers": ["abstract class"],
194         "is_intro": true
195 }
196 {
197         "name": "Human",
198         "synopsis": "Humans are able to do everithing.",
199         "namespace": [{
200                 "name": "test_prog",
201                 "synopsis": "Test program for model tools."
202         }, "$", {
203                 "name": "Human",
204                 "synopsis": "Humans are able to do everithing."
205         }],
206         "class_name": "MClassDef",
207         "full_name": "test_prog$Human",
208         "visibility": "public",
209         "html_synopsis": "<span class=\"synopsys nitdoc\">Humans are able to do everithing.</span>",
210         "modifiers": ["class"],
211         "is_intro": true
212 }
213 {
214         "name": "Dwarf",
215         "synopsis": "Dwarves make strong warriors.",
216         "namespace": [{
217                 "name": "test_prog",
218                 "synopsis": "Test program for model tools."
219         }, "$", {
220                 "name": "Dwarf",
221                 "synopsis": "Dwarves make strong warriors."
222         }],
223         "class_name": "MClassDef",
224         "full_name": "test_prog$Dwarf",
225         "visibility": "public",
226         "html_synopsis": "<span class=\"synopsys nitdoc\">Dwarves make strong warriors.</span>",
227         "modifiers": ["class"],
228         "is_intro": true
229 }
230 {
231         "name": "Dwarf",
232         "synopsis": "Dwarves can be used as weapons.",
233         "namespace": [{
234                 "name": "test_prog",
235                 "synopsis": "Test program for model tools."
236         }, "::", {
237                 "name": "combat",
238                 "synopsis": "COmbat interactions between characters."
239         }, "$", {
240                 "name": "Dwarf",
241                 "synopsis": "Dwarves make strong warriors."
242         }],
243         "class_name": "MClassDef",
244         "full_name": "test_prog::combat$Dwarf",
245         "visibility": "public",
246         "html_synopsis": "<span class=\"synopsys nitdoc\">Dwarves can be used as weapons.</span>",
247         "modifiers": ["redef", "class"]
248 }
249 {
250         "name": "Elf",
251         "synopsis": "Elves make good magicians.",
252         "namespace": [{
253                 "name": "test_prog",
254                 "synopsis": "Test program for model tools."
255         }, "$", {
256                 "name": "Elf",
257                 "synopsis": "Elves make good magicians."
258         }],
259         "class_name": "MClassDef",
260         "full_name": "test_prog$Elf",
261         "visibility": "public",
262         "html_synopsis": "<span class=\"synopsys nitdoc\">Elves make good magicians.</span>",
263         "modifiers": ["class"],
264         "is_intro": true
265 }
266 {
267         "name": "Character",
268         "synopsis": "Characters can be played by both the human or the machine.",
269         "namespace": [{
270                 "name": "test_prog",
271                 "synopsis": "Test program for model tools."
272         }, "$", {
273                 "name": "Character",
274                 "synopsis": "Characters can be played by both the human or the machine."
275         }],
276         "class_name": "MClassDef",
277         "full_name": "test_prog$Character",
278         "visibility": "public",
279         "html_synopsis": "<span class=\"synopsys nitdoc\">Characters can be played by both the human or the machine.</span>",
280         "modifiers": ["class"],
281         "is_intro": true
282 }
283 {
284         "name": "Character",
285         "synopsis": "Characters are now `Comabatable`",
286         "namespace": [{
287                 "name": "test_prog",
288                 "synopsis": "Test program for model tools."
289         }, "::", {
290                 "name": "combat",
291                 "synopsis": "COmbat interactions between characters."
292         }, "$", {
293                 "name": "Character",
294                 "synopsis": "Characters can be played by both the human or the machine."
295         }],
296         "class_name": "MClassDef",
297         "full_name": "test_prog::combat$Character",
298         "visibility": "public",
299         "html_synopsis": "<span class=\"synopsys nitdoc\">Characters are now <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_t\">Comabatable</span></span></span></code></span>",
300         "modifiers": ["redef", "class"]
301 }
302 {
303         "name": "Weapon",
304         "synopsis": "Something that can be used to attack someone and inflict damage.",
305         "namespace": [{
306                 "name": "test_prog",
307                 "synopsis": "Test program for model tools."
308         }, "$", {
309                 "name": "Weapon",
310                 "synopsis": "Something that can be used to attack someone and inflict damage."
311         }],
312         "class_name": "MClassDef",
313         "full_name": "test_prog$Weapon",
314         "visibility": "public",
315         "html_synopsis": "<span class=\"synopsys nitdoc\">Something that can be used to attack someone and inflict damage.</span>",
316         "modifiers": ["interface"],
317         "is_intro": true
318 }
319 {
320         "name": "Combatable",
321         "synopsis": "Something that can be combatted, it can `attack` and `defend`.",
322         "namespace": [{
323                 "name": "test_prog",
324                 "synopsis": "Test program for model tools."
325         }, "$", {
326                 "name": "Combatable",
327                 "synopsis": "Something that can be combatted, it can `attack` and `defend`."
328         }],
329         "class_name": "MClassDef",
330         "full_name": "test_prog$Combatable",
331         "visibility": "public",
332         "html_synopsis": "<span class=\"synopsys nitdoc\">Something that can be combatted, it can <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_i\">attack</span></span></span></code> and <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_i\">defend</span></span></span></code>.</span>",
333         "modifiers": ["interface"],
334         "is_intro": true
335 }
336 {
337         "name": "Game",
338         "synopsis": "This is the interface you have to implement to use ure gaming platform.",
339         "namespace": [{
340                 "name": "test_prog",
341                 "synopsis": "Test program for model tools."
342         }, "$", {
343                 "name": "Game",
344                 "synopsis": "This is the interface you have to implement to use ure gaming platform."
345         }],
346         "class_name": "MClassDef",
347         "full_name": "test_prog$Game",
348         "visibility": "public",
349         "html_synopsis": "<span class=\"synopsys nitdoc\">This is the interface you have to implement to use ure gaming platform.</span>",
350         "modifiers": ["interface"],
351         "is_intro": true
352 }
353 {
354         "name": "MyGame",
355         "synopsis": "This is an example of how to implement the Game interface",
356         "namespace": [{
357                 "name": "test_prog",
358                 "synopsis": "Test program for model tools."
359         }, "$", {
360                 "name": "MyGame",
361                 "synopsis": "This is an example of how to implement the Game interface"
362         }],
363         "class_name": "MClassDef",
364         "full_name": "test_prog$MyGame",
365         "visibility": "public",
366         "html_synopsis": "<span class=\"synopsys nitdoc\">This is an example of how to implement the Game interface</span>",
367         "modifiers": ["class"],
368         "is_intro": true
369 }
370 {
371         "name": "Starter",
372         "namespace": [{
373                 "name": "test_prog",
374                 "synopsis": "Test program for model tools."
375         }, "$", {
376                 "name": "Starter"
377         }],
378         "class_name": "MClassDef",
379         "full_name": "test_prog$Starter",
380         "visibility": "public",
381         "modifiers": ["class"],
382         "is_intro": true
383 }
384 {
385         "name": "Sys",
386         "namespace": [{
387                 "name": "test_prog",
388                 "synopsis": "Test program for model tools."
389         }, "$", {
390                 "name": "Sys"
391         }],
392         "class_name": "MClassDef",
393         "full_name": "test_prog$Sys",
394         "visibility": "public",
395         "modifiers": ["class"],
396         "is_intro": true
397 }