1use vars qw(%result_texis %result_texts %result_trees %result_errors 2 %result_indices %result_sectioning %result_nodes %result_menus 3 %result_floats %result_converted %result_converted_errors 4 %result_elements %result_directions_text); 5 6use utf8; 7 8$result_trees{'defx_after_text'} = { 9 'contents' => [ 10 { 11 'cmdname' => 'deffn', 12 'contents' => [ 13 { 14 'args' => [ 15 { 16 'contents' => [ 17 { 18 'extra' => { 19 'def_role' => 'category' 20 }, 21 'parent' => {}, 22 'text' => 'fset' 23 }, 24 { 25 'extra' => { 26 'def_role' => 'spaces' 27 }, 28 'parent' => {}, 29 'text' => ' ', 30 'type' => 'spaces' 31 }, 32 { 33 'args' => [ 34 { 35 'contents' => [ 36 { 37 'parent' => {}, 38 'text' => 'i' 39 } 40 ], 41 'parent' => {}, 42 'type' => 'brace_command_arg' 43 } 44 ], 45 'cmdname' => 'var', 46 'contents' => [], 47 'extra' => { 48 'def_role' => 'name' 49 }, 50 'line_nr' => { 51 'file_name' => '', 52 'line_nr' => 1, 53 'macro' => '' 54 }, 55 'parent' => {} 56 }, 57 { 58 'extra' => { 59 'def_role' => 'spaces' 60 }, 61 'parent' => {}, 62 'text' => ' ', 63 'type' => 'spaces' 64 }, 65 { 66 'extra' => { 67 'def_role' => 'arg' 68 }, 69 'parent' => {}, 70 'text' => 'a' 71 }, 72 { 73 'extra' => { 74 'def_role' => 'spaces' 75 }, 76 'parent' => {}, 77 'text' => ' ', 78 'type' => 'spaces' 79 }, 80 { 81 'extra' => { 82 'def_role' => 'arg' 83 }, 84 'parent' => {}, 85 'text' => 'g' 86 }, 87 { 88 'extra' => { 89 'def_role' => 'spaces' 90 }, 91 'parent' => {}, 92 'text' => ' 93', 94 'type' => 'spaces_at_end' 95 } 96 ], 97 'parent' => {}, 98 'type' => 'block_line_arg' 99 } 100 ], 101 'extra' => { 102 'def_command' => 'deffn', 103 'def_parsed_hash' => { 104 'category' => {}, 105 'name' => {} 106 }, 107 'index_entry' => { 108 'command' => {}, 109 'content' => [ 110 {} 111 ], 112 'content_normalized' => [ 113 {} 114 ], 115 'in_code' => 1, 116 'index_at_command' => 'deffn', 117 'index_name' => 'fn', 118 'index_type_command' => 'deffn', 119 'key' => 'i', 120 'number' => 1 121 }, 122 'original_def_cmdname' => 'deffn' 123 }, 124 'line_nr' => { 125 'file_name' => '', 126 'line_nr' => 1, 127 'macro' => '' 128 }, 129 'parent' => {}, 130 'type' => 'def_line' 131 }, 132 { 133 'contents' => [ 134 { 135 'contents' => [ 136 { 137 'parent' => {}, 138 'text' => 'Text in deffn 139' 140 } 141 ], 142 'parent' => {}, 143 'type' => 'paragraph' 144 } 145 ], 146 'parent' => {}, 147 'type' => 'inter_def_item' 148 }, 149 { 150 'args' => [ 151 { 152 'contents' => [ 153 { 154 'contents' => [ 155 { 156 'parent' => {}, 157 'text' => 'truc' 158 } 159 ], 160 'extra' => { 161 'def_role' => 'category' 162 }, 163 'line_nr' => { 164 'file_name' => '', 165 'line_nr' => 3, 166 'macro' => '' 167 }, 168 'parent' => {}, 169 'type' => 'bracketed_def_content' 170 }, 171 { 172 'extra' => { 173 'def_role' => 'spaces' 174 }, 175 'parent' => {}, 176 'text' => ' ', 177 'type' => 'spaces' 178 }, 179 { 180 'extra' => { 181 'def_role' => 'name' 182 }, 183 'parent' => {}, 184 'text' => 'bidulr' 185 }, 186 { 187 'extra' => { 188 'def_role' => 'spaces' 189 }, 190 'parent' => {}, 191 'text' => ' ', 192 'type' => 'spaces' 193 }, 194 { 195 'extra' => { 196 'def_role' => 'arg' 197 }, 198 'parent' => {}, 199 'text' => 'machin...' 200 }, 201 { 202 'extra' => { 203 'def_role' => 'spaces' 204 }, 205 'parent' => {}, 206 'text' => ' 207', 208 'type' => 'spaces_at_end' 209 } 210 ], 211 'parent' => {}, 212 'type' => 'line_arg' 213 } 214 ], 215 'cmdname' => 'deffnx', 216 'extra' => { 217 'def_command' => 'deffn', 218 'def_parsed_hash' => { 219 'category' => {}, 220 'name' => {} 221 }, 222 'index_entry' => { 223 'command' => {}, 224 'content' => [ 225 {} 226 ], 227 'content_normalized' => [ 228 {} 229 ], 230 'in_code' => 1, 231 'index_at_command' => 'deffnx', 232 'index_name' => 'fn', 233 'index_type_command' => 'deffn', 234 'key' => 'bidulr', 235 'number' => 2 236 }, 237 'not_after_command' => 1, 238 'original_def_cmdname' => 'deffnx', 239 'spaces_before_argument' => ' ' 240 }, 241 'line_nr' => { 242 'file_name' => '', 243 'line_nr' => 3, 244 'macro' => '' 245 }, 246 'parent' => {}, 247 'type' => 'def_line' 248 }, 249 { 250 'args' => [ 251 { 252 'contents' => [ 253 { 254 'parent' => {}, 255 'text' => 'deffn' 256 } 257 ], 258 'parent' => {}, 259 'type' => 'line_arg' 260 } 261 ], 262 'cmdname' => 'end', 263 'extra' => { 264 'command_argument' => 'deffn', 265 'spaces_before_argument' => ' ', 266 'text_arg' => 'deffn' 267 }, 268 'line_nr' => { 269 'file_name' => '', 270 'line_nr' => 4, 271 'macro' => '' 272 }, 273 'parent' => {} 274 } 275 ], 276 'extra' => { 277 'end_command' => {}, 278 'spaces_before_argument' => ' ' 279 }, 280 'line_nr' => { 281 'file_name' => '', 282 'line_nr' => 1, 283 'macro' => '' 284 }, 285 'parent' => {} 286 } 287 ], 288 'type' => 'text_root' 289}; 290$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]; 291$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]; 292$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'args'}[0]; 293$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]; 294$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]; 295$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[3]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]; 296$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[4]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]; 297$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[5]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]; 298$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[6]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]; 299$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[7]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]; 300$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]; 301$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'extra'}{'def_parsed_hash'}{'category'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]; 302$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'extra'}{'def_parsed_hash'}{'name'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]; 303$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'command'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]; 304$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content'}[0] = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]; 305$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}[0] = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]; 306$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]; 307$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[1]{'contents'}[0]; 308$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[1]; 309$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]; 310$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]; 311$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]; 312$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]; 313$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]; 314$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[3]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]; 315$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[4]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]; 316$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[5]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]; 317$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]; 318$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'extra'}{'def_parsed_hash'}{'category'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]; 319$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'extra'}{'def_parsed_hash'}{'name'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]; 320$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'extra'}{'index_entry'}{'command'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]; 321$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'extra'}{'index_entry'}{'content'}[0] = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]; 322$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'extra'}{'index_entry'}{'content_normalized'}[0] = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]; 323$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]; 324$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[3]{'args'}[0]; 325$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[3]; 326$result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[3]{'parent'} = $result_trees{'defx_after_text'}{'contents'}[0]; 327$result_trees{'defx_after_text'}{'contents'}[0]{'extra'}{'end_command'} = $result_trees{'defx_after_text'}{'contents'}[0]{'contents'}[3]; 328$result_trees{'defx_after_text'}{'contents'}[0]{'parent'} = $result_trees{'defx_after_text'}; 329 330$result_texis{'defx_after_text'} = '@deffn fset @var{i} a g 331Text in deffn 332@deffnx {truc} bidulr machin... 333@end deffn'; 334 335 336$result_texts{'defx_after_text'} = 'fset: i a g 337Text in deffn 338truc: bidulr machin... 339'; 340 341$result_errors{'defx_after_text'} = [ 342 { 343 'error_line' => ':1: warning: entry for index `fn\' outside of any node 344', 345 'file_name' => '', 346 'line_nr' => 1, 347 'macro' => '', 348 'text' => 'entry for index `fn\' outside of any node', 349 'type' => 'warning' 350 }, 351 { 352 'error_line' => ':3: must be after `@deffn\' to use `@deffnx\' 353', 354 'file_name' => '', 355 'line_nr' => 3, 356 'macro' => '', 357 'text' => 'must be after `@deffn\' to use `@deffnx\'', 358 'type' => 'error' 359 }, 360 { 361 'error_line' => ':3: warning: entry for index `fn\' outside of any node 362', 363 'file_name' => '', 364 'line_nr' => 3, 365 'macro' => '', 366 'text' => 'entry for index `fn\' outside of any node', 367 'type' => 'warning' 368 } 369]; 370 371 372$result_floats{'defx_after_text'} = {}; 373 374 3751; 376