doc/commands: introduce commands results to json translation
[nit.git] / src / doc / commands / tests / test_commands_json.sav / test_cmd_call.res
1 {
2         "results": [{
3                 "name": "init",
4                 "class_name": "MMethodDef",
5                 "full_name": "test_prog$Character$Object::init",
6                 "mdoc": null,
7                 "visibility": "public",
8                 "modifiers": ["redef", "init"],
9                 "location": {
10                         "column_end": 3,
11                         "column_start": 1,
12                         "line_end": 68,
13                         "line_start": 21,
14                         "file": "test_location"
15                 },
16                 "is_intro": false,
17                 "msignature": {
18                         "arity": 0,
19                         "mparams": [],
20                         "return_mtype": null,
21                         "vararg_rank": -1
22                 }
23         }, {
24                 "name": "total_strengh",
25                 "class_name": "MMethodDef",
26                 "full_name": "test_prog$Character$total_strengh",
27                 "mdoc": {
28                         "content": "The actual strength of the character.\n\nReturns `race.base_strength + career.strength_bonus` or just `race.base_strength` is unemployed.",
29                         "location": {
30                                 "column_end": 0,
31                                 "column_start": 2,
32                                 "line_end": 42,
33                                 "line_start": 39,
34                                 "file": "test_location"
35                         }
36                 },
37                 "visibility": "public",
38                 "modifiers": ["fun"],
39                 "location": {
40                         "column_end": 4,
41                         "column_start": 2,
42                         "line_end": 45,
43                         "line_start": 39,
44                         "file": "test_location"
45                 },
46                 "is_intro": true,
47                 "msignature": {
48                         "arity": 0,
49                         "mparams": [],
50                         "return_mtype": {
51                                 "full_name": "test_prog::Int"
52                         },
53                         "vararg_rank": -1
54                 }
55         }],
56         "page": null,
57         "count": null,
58         "limit": null,
59         "max": null
60 }