error: Eliminate error_propagate() with Coccinelle, part 2
[qemu/ar7.git] / tests / qapi-schema / doc-good.texi
blob7f28fb7a0fb5089f822f6798dfaedcc895f460cb
1 @c AUTOMATICALLY GENERATED, DO NOT MODIFY
3 @section Section
5 @subsection Subsection
7 @strong{strong} @emph{with emphasis}
8 @code{var} @{in braces@}
9 @itemize @bullet
10 @item
11 List item one
12 @item
13 Two, multiple
14 lines
16 @item
17 Three
18 Still in list
20 @end itemize
22 Not in list
23 @itemize @minus
24 @item
25 Second list
26 Note: still in list
28 @end itemize
30 Note: not in list
31 @enumerate
32 @item
33 Third list
34 is numbered
36 @item
37 another item
39 @example
40 example
41 @end example
43 @example
44 multiple lines
45 @end example
48 @end enumerate
50 Returns: the King
51 Since: the first age
52 Notes:
54 @enumerate
55 @item
56 Lorem ipsum dolor sit amet
58 @item
59 Ut enim ad minim veniam
61 @end enumerate
63 Duis aute irure dolor
65 Example:
67 -> in
68 <- out
69 Examples:
70 @itemize @minus
71 @item
72 @strong{verbatim}
73 @item
74 @{braces@}
75 @end itemize
79 @deftp {Enum} Enum
83 @b{Values:}
84 @table @asis
85 @item @code{one}
86 The @emph{one} @{and only@}
87 @*@b{If:} @code{defined(IFONE)}
88 @item @code{two}
89 Not documented
90 @end table
92 @b{Features:}
93 @table @asis
94 @item @code{enum-feat}
95 Also @emph{one} @{and only@}
96 @end table
97 @code{two} is undocumented
99 @b{If:} @code{defined(IFCOND)}
100 @end deftp
104 @deftp {Object} Base
108 @b{Members:}
109 @table @asis
110 @item @code{base1: Enum}
111 the first member
112 @end table
114 @end deftp
118 @deftp {Object} Variant1
120 A paragraph
122 Another paragraph (but no @code{var}: line)
124 @b{Members:}
125 @table @asis
126 @item @code{var1: string}
127 Not documented
128 @*@b{If:} @code{defined(IFSTR)}
129 @end table
131 @b{Features:}
132 @table @asis
133 @item @code{variant1-feat}
134 a feature
135 @item @code{member-feat}
136 a member feature
137 @end table
139 @end deftp
143 @deftp {Object} Variant2
147 @end deftp
151 @deftp {Object} Object
155 @b{Members:}
156 @table @asis
157 @item The members of @code{Base}
158 @item The members of @code{Variant1} when @code{base1} is @t{"one"}
159 @item The members of @code{Variant2} when @code{base1} is @t{"two"} (@b{If:} @code{IFTWO})
160 @end table
162 @b{Features:}
163 @table @asis
164 @item @code{union-feat1}
165 a feature
166 @end table
168 @end deftp
172 @deftp {Object} SugaredUnion
176 @b{Members:}
177 @table @asis
178 @item @code{type}
179 One of @t{"one"}, @t{"two"}
180 @item @code{data: Variant1} when @code{type} is @t{"one"}
181 @item @code{data: Variant2} when @code{type} is @t{"two"} (@b{If:} @code{IFTWO})
182 @end table
184 @b{Features:}
185 @table @asis
186 @item @code{union-feat2}
187 a feature
188 @end table
190 @end deftp
194 @deftp {Alternate} Alternate
198 @b{Members:}
199 @table @asis
200 @item @code{i: int}
201 an integer
202 @code{b} is undocumented
203 @item @code{b: boolean}
204 Not documented
205 @end table
207 @b{Features:}
208 @table @asis
209 @item @code{alt-feat}
210 a feature
211 @end table
213 @end deftp
216 @subsection Another subsection
219 @deftypefn Command {} cmd
223 @b{Arguments:}
224 @table @asis
225 @item @code{arg1: int}
226 the first argument
227 @item @code{arg2: string} (optional)
228 the second
229 argument
230 @item @code{arg3: boolean}
231 Not documented
232 @end table
234 @b{Features:}
235 @table @asis
236 @item @code{cmd-feat1}
237 a feature
238 @item @code{cmd-feat2}
239 another feature
240 @end table
242 @b{Note:}
243 @code{arg3} is undocumented
245 @b{Returns:}
246 @code{Object}
248 @b{TODO:}
249 frobnicate
251 @b{Notes:}
252 @itemize @minus
253 @item
254 Lorem ipsum dolor sit amet
255 @item
256 Ut enim ad minim veniam
258 @end itemize
260 Duis aute irure dolor
262 @b{Example:}
263 @example
264 -> in
265 <- out
266 @end example
268 @b{Examples:}
269 @example
270 - *verbatim*
271 - @{braces@}
272 @end example
274 @b{Since:}
275 2.10
277 @end deftypefn
281 @deftypefn Command {} cmd-boxed
283 If you're bored enough to read this, go see a video of boxed cats
285 @b{Arguments:} the members of @code{Object}
287 @b{Features:}
288 @table @asis
289 @item @code{cmd-feat1}
290 a feature
291 @item @code{cmd-feat2}
292 another feature
293 @end table
295 @b{Example:}
296 @example
297 -> in
299 <- out
300 @end example
302 @end deftypefn
306 @deftypefn Event {} EVT-BOXED
310 @b{Arguments:} the members of @code{Object}
312 @b{Features:}
313 @table @asis
314 @item @code{feat3}
315 a feature
316 @end table
318 @end deftypefn