doc: Rename `synopsys` into `synopsis`
[nit.git] / src / doc / templates / tests / test_json_model.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=\"synopsis 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=\"synopsis 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=\"synopsis 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=\"synopsis 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=\"synopsis 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=\"synopsis 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=\"synopsis nitdoc\">Root of everything.</span>"
108                 }
109         }]
110 }
111 {
112         "name": "Sys",
113         "synopsis": "Sys",
114         "namespace": [{
115                 "name": "test_prog",
116                 "synopsis": "Test program for model tools."
117         }, "$", {
118                 "name": "Sys",
119                 "synopsis": "Sys"
120         }],
121         "class_name": "MClassDef",
122         "full_name": "test_prog$Sys",
123         "visibility": "public",
124         "html_synopsis": "<span class=\"synopsis nitdoc\">Sys</span>",
125         "modifiers": ["class"],
126         "is_intro": true
127 }
128 {
129         "name": "Sys",
130         "synopsis": "Sys",
131         "namespace": [{
132                 "name": "test_prog",
133                 "synopsis": "Test program for model tools."
134         }, "::", {
135                 "name": "test_prog",
136                 "synopsis": "A test program with a fake model to check model tools."
137         }, "$", {
138                 "name": "Sys",
139                 "synopsis": "Sys"
140         }],
141         "class_name": "MClassDef",
142         "full_name": "test_prog::test_prog$Sys",
143         "visibility": "public",
144         "html_synopsis": "<span class=\"synopsis nitdoc\">Sys</span>",
145         "modifiers": ["redef", "class"]
146 }
147 {
148         "name": "Career",
149         "synopsis": "A `Career` gives a characteristic bonus or malus to the character.",
150         "namespace": [{
151                 "name": "test_prog",
152                 "synopsis": "Test program for model tools."
153         }, "$", {
154                 "name": "Career",
155                 "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
156         }],
157         "class_name": "MClassDef",
158         "full_name": "test_prog$Career",
159         "visibility": "public",
160         "html_synopsis": "<span class=\"synopsis 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>",
161         "modifiers": ["abstract class"],
162         "is_intro": true
163 }
164 {
165         "name": "Warrior",
166         "synopsis": "Warriors are good for fighting.",
167         "namespace": [{
168                 "name": "test_prog",
169                 "synopsis": "Test program for model tools."
170         }, "$", {
171                 "name": "Warrior",
172                 "synopsis": "Warriors are good for fighting."
173         }],
174         "class_name": "MClassDef",
175         "full_name": "test_prog$Warrior",
176         "visibility": "public",
177         "html_synopsis": "<span class=\"synopsis nitdoc\">Warriors are good for fighting.</span>",
178         "modifiers": ["class"],
179         "is_intro": true
180 }
181 {
182         "name": "Magician",
183         "synopsis": "Magicians know magic and how to use it.",
184         "namespace": [{
185                 "name": "test_prog",
186                 "synopsis": "Test program for model tools."
187         }, "$", {
188                 "name": "Magician",
189                 "synopsis": "Magicians know magic and how to use it."
190         }],
191         "class_name": "MClassDef",
192         "full_name": "test_prog$Magician",
193         "visibility": "public",
194         "html_synopsis": "<span class=\"synopsis nitdoc\">Magicians know magic and how to use it.</span>",
195         "modifiers": ["class"],
196         "is_intro": true
197 }
198 {
199         "name": "Alcoholic",
200         "synopsis": "Alcoholics are good to nothing escept taking punches.",
201         "namespace": [{
202                 "name": "test_prog",
203                 "synopsis": "Test program for model tools."
204         }, "$", {
205                 "name": "Alcoholic",
206                 "synopsis": "Alcoholics are good to nothing escept taking punches."
207         }],
208         "class_name": "MClassDef",
209         "full_name": "test_prog$Alcoholic",
210         "visibility": "public",
211         "html_synopsis": "<span class=\"synopsis nitdoc\">Alcoholics are good to nothing escept taking punches.</span>",
212         "modifiers": ["class"],
213         "is_intro": true
214 }
215 {
216         "name": "Race",
217         "synopsis": "Race determines basic characteristics and what the character will be able to do in life.",
218         "namespace": [{
219                 "name": "test_prog",
220                 "synopsis": "Test program for model tools."
221         }, "$", {
222                 "name": "Race",
223                 "synopsis": "Race determines basic characteristics and what the character will be able to do in life."
224         }],
225         "class_name": "MClassDef",
226         "full_name": "test_prog$Race",
227         "visibility": "public",
228         "html_synopsis": "<span class=\"synopsis nitdoc\">Race determines basic characteristics and what the character will be able to do in life.</span>",
229         "modifiers": ["abstract class"],
230         "is_intro": true
231 }
232 {
233         "name": "Human",
234         "synopsis": "Humans are able to do everithing.",
235         "namespace": [{
236                 "name": "test_prog",
237                 "synopsis": "Test program for model tools."
238         }, "$", {
239                 "name": "Human",
240                 "synopsis": "Humans are able to do everithing."
241         }],
242         "class_name": "MClassDef",
243         "full_name": "test_prog$Human",
244         "visibility": "public",
245         "html_synopsis": "<span class=\"synopsis nitdoc\">Humans are able to do everithing.</span>",
246         "modifiers": ["class"],
247         "is_intro": true
248 }
249 {
250         "name": "Dwarf",
251         "synopsis": "Dwarves make strong warriors.",
252         "namespace": [{
253                 "name": "test_prog",
254                 "synopsis": "Test program for model tools."
255         }, "$", {
256                 "name": "Dwarf",
257                 "synopsis": "Dwarves make strong warriors."
258         }],
259         "class_name": "MClassDef",
260         "full_name": "test_prog$Dwarf",
261         "visibility": "public",
262         "html_synopsis": "<span class=\"synopsis nitdoc\">Dwarves make strong warriors.</span>",
263         "modifiers": ["class"],
264         "is_intro": true
265 }
266 {
267         "name": "Dwarf",
268         "synopsis": "Dwarves can be used as weapons.",
269         "namespace": [{
270                 "name": "test_prog",
271                 "synopsis": "Test program for model tools."
272         }, "::", {
273                 "name": "combat",
274                 "synopsis": "COmbat interactions between characters."
275         }, "$", {
276                 "name": "Dwarf",
277                 "synopsis": "Dwarves make strong warriors."
278         }],
279         "class_name": "MClassDef",
280         "full_name": "test_prog::combat$Dwarf",
281         "visibility": "public",
282         "html_synopsis": "<span class=\"synopsis nitdoc\">Dwarves can be used as weapons.</span>",
283         "modifiers": ["redef", "class"]
284 }
285 {
286         "name": "Elf",
287         "synopsis": "Elves make good magicians.",
288         "namespace": [{
289                 "name": "test_prog",
290                 "synopsis": "Test program for model tools."
291         }, "$", {
292                 "name": "Elf",
293                 "synopsis": "Elves make good magicians."
294         }],
295         "class_name": "MClassDef",
296         "full_name": "test_prog$Elf",
297         "visibility": "public",
298         "html_synopsis": "<span class=\"synopsis nitdoc\">Elves make good magicians.</span>",
299         "modifiers": ["class"],
300         "is_intro": true
301 }
302 {
303         "name": "Character",
304         "synopsis": "Characters can be played by both the human or the machine.",
305         "namespace": [{
306                 "name": "test_prog",
307                 "synopsis": "Test program for model tools."
308         }, "$", {
309                 "name": "Character",
310                 "synopsis": "Characters can be played by both the human or the machine."
311         }],
312         "class_name": "MClassDef",
313         "full_name": "test_prog$Character",
314         "visibility": "public",
315         "html_synopsis": "<span class=\"synopsis nitdoc\">Characters can be played by both the human or the machine.</span>",
316         "modifiers": ["class"],
317         "is_intro": true
318 }
319 {
320         "name": "Character",
321         "synopsis": "Characters are now `Comabatable`",
322         "namespace": [{
323                 "name": "test_prog",
324                 "synopsis": "Test program for model tools."
325         }, "::", {
326                 "name": "combat",
327                 "synopsis": "COmbat interactions between characters."
328         }, "$", {
329                 "name": "Character",
330                 "synopsis": "Characters can be played by both the human or the machine."
331         }],
332         "class_name": "MClassDef",
333         "full_name": "test_prog::combat$Character",
334         "visibility": "public",
335         "html_synopsis": "<span class=\"synopsis nitdoc\">Characters are now <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_t\">Comabatable</span></span></span></code></span>",
336         "modifiers": ["redef", "class"]
337 }
338 {
339         "name": "Weapon",
340         "synopsis": "Something that can be used to attack someone and inflict damage.",
341         "namespace": [{
342                 "name": "test_prog",
343                 "synopsis": "Test program for model tools."
344         }, "$", {
345                 "name": "Weapon",
346                 "synopsis": "Something that can be used to attack someone and inflict damage."
347         }],
348         "class_name": "MClassDef",
349         "full_name": "test_prog$Weapon",
350         "visibility": "public",
351         "html_synopsis": "<span class=\"synopsis nitdoc\">Something that can be used to attack someone and inflict damage.</span>",
352         "modifiers": ["interface"],
353         "is_intro": true
354 }
355 {
356         "name": "Combatable",
357         "synopsis": "Something that can be combatted, it can `attack` and `defend`.",
358         "namespace": [{
359                 "name": "test_prog",
360                 "synopsis": "Test program for model tools."
361         }, "$", {
362                 "name": "Combatable",
363                 "synopsis": "Something that can be combatted, it can `attack` and `defend`."
364         }],
365         "class_name": "MClassDef",
366         "full_name": "test_prog$Combatable",
367         "visibility": "public",
368         "html_synopsis": "<span class=\"synopsis 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>",
369         "modifiers": ["interface"],
370         "is_intro": true
371 }
372 {
373         "name": "Game",
374         "synopsis": "This is the interface you have to implement to use ure gaming platform.",
375         "namespace": [{
376                 "name": "test_prog",
377                 "synopsis": "Test program for model tools."
378         }, "$", {
379                 "name": "Game",
380                 "synopsis": "This is the interface you have to implement to use ure gaming platform."
381         }],
382         "class_name": "MClassDef",
383         "full_name": "test_prog$Game",
384         "visibility": "public",
385         "html_synopsis": "<span class=\"synopsis nitdoc\">This is the interface you have to implement to use ure gaming platform.</span>",
386         "modifiers": ["interface"],
387         "is_intro": true
388 }
389 {
390         "name": "MyGame",
391         "synopsis": "This is an example of how to implement the Game interface",
392         "namespace": [{
393                 "name": "test_prog",
394                 "synopsis": "Test program for model tools."
395         }, "$", {
396                 "name": "MyGame",
397                 "synopsis": "This is an example of how to implement the Game interface"
398         }],
399         "class_name": "MClassDef",
400         "full_name": "test_prog$MyGame",
401         "visibility": "public",
402         "html_synopsis": "<span class=\"synopsis nitdoc\">This is an example of how to implement the Game interface</span>",
403         "modifiers": ["class"],
404         "is_intro": true
405 }
406 {
407         "name": "Starter",
408         "namespace": [{
409                 "name": "test_prog",
410                 "synopsis": "Test program for model tools."
411         }, "$", {
412                 "name": "Starter"
413         }],
414         "class_name": "MClassDef",
415         "full_name": "test_prog$Starter",
416         "visibility": "public",
417         "modifiers": ["class"],
418         "is_intro": true
419 }
420 {
421         "name": "TestGame",
422         "namespace": [{
423                 "name": "test_prog",
424                 "synopsis": "Test program for model tools."
425         }, "$", {
426                 "name": "TestGame"
427         }],
428         "class_name": "MClassDef",
429         "full_name": "test_prog$TestGame",
430         "visibility": "public",
431         "modifiers": ["class"],
432         "is_intro": true
433 }
434 {
435         "name": "GameTest",
436         "namespace": [{
437                 "name": "test_prog",
438                 "synopsis": "Test program for model tools."
439         }, "$", {
440                 "name": "GameTest"
441         }],
442         "class_name": "MClassDef",
443         "full_name": "test_prog$GameTest",
444         "visibility": "public",
445         "modifiers": ["class"],
446         "is_intro": true
447 }