blob: 3857ea64b99e7f1f49fbfecd89db8c8f6d4142a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
<?xml version="1.0" encoding="UTF-8"?>
<tests xmlns="http://schemas.gnome.org/gobject-introspection/2013/test">
<test>
<input>/**
* whitespace_test:
* @object: (skip):
*
* A #AnnotationObject
*
*
* @func: The callback
*
*
* Test overriding via the "Rename To" annotation.
*
*
* Returns: nothing
*
*
*/</input>
<parser>
<docblock>
<identifier>
<name>whitespace_test</name>
</identifier>
<parameters>
<parameter>
<name>object</name>
<annotations>
<annotation>
<name>skip</name>
</annotation>
</annotations>
</parameter>
<parameter>
<name>func</name>
<description>The callback</description>
</parameter>
</parameters>
<description>A #AnnotationObject
Test overriding via the "Rename To" annotation.</description>
<tags>
<tag>
<name>returns</name>
<description>nothing</description>
</tag>
</tags>
</docblock>
<messages>
<message>8: Warning: Test: "@func" parameter unexpected at this location:
* @func: The callback
^</message>
</messages>
</parser>
<output>/**
* whitespace_test:
* @object: (skip):
* @func: The callback
*
* A #AnnotationObject
*
*
*
* Test overriding via the "Rename To" annotation.
*
* Returns: nothing
*/</output>
</test>
<test>
<input>/**
*atk_text_get_default_attributes:
*@text: an #AtkText
*
*Creates ...
*
*Returns: (transfer full): an ...
*/</input>
<parser>
<docblock>
<identifier>
<name>atk_text_get_default_attributes</name>
</identifier>
<parameters>
<parameter>
<name>text</name>
<description>an #AtkText</description>
</parameter>
</parameters>
<description>Creates ...</description>
<tags>
<tag>
<name>returns</name>
<annotations>
<annotation>
<name>transfer</name>
<options>
<option>
<name>full</name>
</option>
</options>
</annotation>
</annotations>
<description>an ...</description>
</tag>
</tags>
</docblock>
</parser>
<output>/**
* atk_text_get_default_attributes:
* @text: an #AtkText
*
* Creates ...
*
* Returns: (transfer full): an ...
*/</output>
</test>
</tests>
|