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