target/ppc: Fix test on mmu_model in hreg_compute_hflags_value()
[qemu.git] / tests / qapi-schema / doc-good.txt
blobb3b76bd43fdaa934efd37e018f83d91606183c27
1 Section
2 *******
5 Subsection
6 ==========
8 *with emphasis* "var" {in braces}
10 * List item one
12 * Two, multiple lines
14 * Three Still in list
16 Not in list
18 * Second list Note: still in list
20 Note: not in list
22 1. Third list is numbered
24 2. another item
26 Returns: the King Since: the first age Notes:
28 1. Lorem ipsum dolor sit amet
30 2. Ut enim ad minim veniam
32 Duis aute irure dolor
34 Example:
36 -> in <- out Examples: - *verbatim* - {braces}
39 "Enum" (Enum)
40 -------------
43 Values
44 ~~~~~~
46 "one" (**If: **"IFONE")
47    The _one_ {and only}
49 "two"
50    Not documented
53 Features
54 ~~~~~~~~
56 "enum-feat"
57    Also _one_ {and only}
59 "enum-member-feat"
60    a member feature
62 "two" is undocumented
68 "IFCOND"
71 "Base" (Object)
72 ---------------
75 Members
76 ~~~~~~~
78 "base1": "Enum"
79    the first member
85 "IFALL1 and IFALL2"
88 "Variant1" (Object)
89 -------------------
91 A paragraph
93 Another paragraph (but no "var": line)
96 Members
97 ~~~~~~~
99 "var1": "string" (**If: **"IFSTR")
100    Not documented
103 Features
104 ~~~~~~~~
106 "variant1-feat"
107    a feature
109 "member-feat"
110    a member feature
113 "Variant2" (Object)
114 -------------------
117 "Object" (Object)
118 -----------------
121 Members
122 ~~~~~~~
124 The members of "Base"
125 The members of "Variant1" when "base1" is ""one""
126 The members of "Variant2" when "base1" is ""two"" (**If: **"IFONE or
127 IFTWO")
129 Features
130 ~~~~~~~~
132 "union-feat1"
133    a feature
136 "Alternate" (Alternate)
137 -----------------------
140 Members
141 ~~~~~~~
143 "i": "int"
144    an integer "b" is undocumented
146 "b": "boolean"
147    Not documented
150 Features
151 ~~~~~~~~
153 "alt-feat"
154    a feature
160 "not (IFONE or IFTWO)"
163 Another subsection
164 ==================
167 "cmd" (Command)
168 ---------------
171 Arguments
172 ~~~~~~~~~
174 "arg1": "int"
175    the first argument
177 "arg2": "string" (optional)
178    the second argument
180 "arg3": "boolean"
181    Not documented
184 Features
185 ~~~~~~~~
187 "cmd-feat1"
188    a feature
190 "cmd-feat2"
191    another feature
194 Note
195 ~~~~
197 "arg3" is undocumented
200 Returns
201 ~~~~~~~
203 "Object"
206 TODO
207 ~~~~
209 frobnicate
212 Notes
213 ~~~~~
215 * Lorem ipsum dolor sit amet
217 * Ut enim ad minim veniam
219 Duis aute irure dolor
222 Example
223 ~~~~~~~
225    -> in
226    <- out
229 Examples
230 ~~~~~~~~
232    - *verbatim*
233    - {braces}
236 Since
237 ~~~~~
239 2.10
242 "cmd-boxed" (Command)
243 ---------------------
245 If you're bored enough to read this, go see a video of boxed cats
248 Arguments
249 ~~~~~~~~~
251 The members of "Object"
253 Features
254 ~~~~~~~~
256 "cmd-feat1"
257    a feature
259 "cmd-feat2"
260    another feature
263 Example
264 ~~~~~~~
266    -> in
268    <- out
271 "EVT_BOXED" (Event)
272 -------------------
275 Arguments
276 ~~~~~~~~~
278 The members of "Object"
280 Features
281 ~~~~~~~~
283 "feat3"
284    a feature