inter_item_commands_in_def.pl 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. use 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. use utf8;
  6. $result_trees{'inter_item_commands_in_def'} = {
  7. 'contents' => [
  8. {
  9. 'cmdname' => 'deffn',
  10. 'contents' => [
  11. {
  12. 'args' => [
  13. {
  14. 'contents' => [
  15. {
  16. 'extra' => {
  17. 'command' => {}
  18. },
  19. 'parent' => {},
  20. 'text' => ' ',
  21. 'type' => 'empty_spaces_after_command'
  22. },
  23. {
  24. 'parent' => {},
  25. 'text' => 'fset '
  26. },
  27. {
  28. 'args' => [
  29. {
  30. 'contents' => [
  31. {
  32. 'parent' => {},
  33. 'text' => 'i'
  34. }
  35. ],
  36. 'parent' => {},
  37. 'type' => 'brace_command_arg'
  38. }
  39. ],
  40. 'cmdname' => 'var',
  41. 'contents' => [],
  42. 'line_nr' => {
  43. 'file_name' => '',
  44. 'line_nr' => 1,
  45. 'macro' => ''
  46. },
  47. 'parent' => {}
  48. },
  49. {
  50. 'parent' => {},
  51. 'text' => ' a g
  52. '
  53. }
  54. ],
  55. 'parent' => {},
  56. 'type' => 'block_line_arg'
  57. }
  58. ],
  59. 'extra' => {
  60. 'def_args' => [
  61. [
  62. 'category',
  63. {
  64. 'text' => 'fset'
  65. }
  66. ],
  67. [
  68. 'spaces',
  69. {
  70. 'text' => ' ',
  71. 'type' => 'spaces'
  72. }
  73. ],
  74. [
  75. 'name',
  76. {}
  77. ],
  78. [
  79. 'spaces',
  80. {
  81. 'text' => ' ',
  82. 'type' => 'spaces'
  83. }
  84. ],
  85. [
  86. 'arg',
  87. {
  88. 'text' => 'a'
  89. }
  90. ],
  91. [
  92. 'spaces',
  93. {
  94. 'text' => ' ',
  95. 'type' => 'spaces'
  96. }
  97. ],
  98. [
  99. 'arg',
  100. {
  101. 'text' => 'g'
  102. }
  103. ]
  104. ],
  105. 'def_command' => 'deffn',
  106. 'def_parsed_hash' => {
  107. 'category' => {},
  108. 'name' => {}
  109. },
  110. 'index_entry' => {
  111. 'command' => {},
  112. 'content' => [
  113. {}
  114. ],
  115. 'content_normalized' => [
  116. {}
  117. ],
  118. 'in_code' => 1,
  119. 'index_at_command' => 'deffn',
  120. 'index_name' => 'fn',
  121. 'index_type_command' => 'deffn',
  122. 'key' => 'i',
  123. 'number' => 1
  124. },
  125. 'original_def_cmdname' => 'deffn'
  126. },
  127. 'line_nr' => {},
  128. 'parent' => {},
  129. 'type' => 'def_line'
  130. },
  131. {
  132. 'contents' => [
  133. {
  134. 'args' => [
  135. {
  136. 'parent' => {},
  137. 'text' => ' comment before first deffnx
  138. ',
  139. 'type' => 'misc_arg'
  140. }
  141. ],
  142. 'cmdname' => 'c',
  143. 'extra' => {
  144. 'misc_args' => [
  145. ' comment before first deffnx
  146. '
  147. ]
  148. },
  149. 'parent' => {}
  150. },
  151. {
  152. 'parent' => {},
  153. 'text' => '
  154. ',
  155. 'type' => 'empty_line'
  156. }
  157. ],
  158. 'parent' => {},
  159. 'type' => 'inter_def_item'
  160. },
  161. {
  162. 'args' => [
  163. {
  164. 'contents' => [
  165. {
  166. 'extra' => {
  167. 'command' => {}
  168. },
  169. 'parent' => {},
  170. 'text' => ' ',
  171. 'type' => 'empty_spaces_after_command'
  172. },
  173. {
  174. 'parent' => {},
  175. 'text' => 'Command '
  176. },
  177. {
  178. 'contents' => [
  179. {
  180. 'parent' => {},
  181. 'text' => ' ',
  182. 'type' => 'empty_spaces_before_argument'
  183. },
  184. {
  185. 'parent' => {},
  186. 'text' => 'log trap1'
  187. }
  188. ],
  189. 'extra' => {
  190. 'spaces_before_argument' => {}
  191. },
  192. 'line_nr' => {
  193. 'file_name' => '',
  194. 'line_nr' => 4,
  195. 'macro' => ''
  196. },
  197. 'parent' => {},
  198. 'type' => 'bracketed_def_content'
  199. },
  200. {
  201. 'parent' => {},
  202. 'text' => ' '
  203. },
  204. {
  205. 'contents' => [],
  206. 'line_nr' => {},
  207. 'parent' => {},
  208. 'type' => 'bracketed_def_content'
  209. },
  210. {
  211. 'parent' => {},
  212. 'text' => '
  213. '
  214. }
  215. ],
  216. 'parent' => {},
  217. 'type' => 'misc_line_arg'
  218. }
  219. ],
  220. 'cmdname' => 'deffnx',
  221. 'extra' => {
  222. 'def_args' => [
  223. [
  224. 'category',
  225. {
  226. 'text' => 'Command'
  227. }
  228. ],
  229. [
  230. 'spaces',
  231. {
  232. 'text' => ' ',
  233. 'type' => 'spaces'
  234. }
  235. ],
  236. [
  237. 'name',
  238. {}
  239. ],
  240. [
  241. 'spaces',
  242. {
  243. 'text' => ' ',
  244. 'type' => 'spaces'
  245. }
  246. ],
  247. [
  248. 'arg',
  249. {}
  250. ],
  251. [
  252. 'spaces',
  253. {
  254. 'text' => ' ',
  255. 'type' => 'spaces'
  256. }
  257. ]
  258. ],
  259. 'def_command' => 'deffn',
  260. 'def_parsed_hash' => {
  261. 'category' => {},
  262. 'name' => {}
  263. },
  264. 'index_entry' => {
  265. 'command' => {},
  266. 'content' => [
  267. {}
  268. ],
  269. 'content_normalized' => [
  270. {}
  271. ],
  272. 'in_code' => 1,
  273. 'index_at_command' => 'deffnx',
  274. 'index_name' => 'fn',
  275. 'index_type_command' => 'deffn',
  276. 'key' => 'log trap1',
  277. 'number' => 2
  278. },
  279. 'original_def_cmdname' => 'deffnx',
  280. 'spaces_after_command' => {}
  281. },
  282. 'line_nr' => {},
  283. 'parent' => {},
  284. 'type' => 'def_line'
  285. },
  286. {
  287. 'contents' => [
  288. {
  289. 'args' => [
  290. {
  291. 'contents' => [
  292. {
  293. 'extra' => {
  294. 'command' => {}
  295. },
  296. 'parent' => {},
  297. 'text' => ' ',
  298. 'type' => 'empty_spaces_after_command'
  299. },
  300. {
  301. 'parent' => {},
  302. 'text' => 'between deffnx'
  303. },
  304. {
  305. 'parent' => {},
  306. 'text' => '
  307. ',
  308. 'type' => 'spaces_at_end'
  309. }
  310. ],
  311. 'parent' => {},
  312. 'type' => 'misc_line_arg'
  313. }
  314. ],
  315. 'cmdname' => 'cindex',
  316. 'extra' => {
  317. 'index_entry' => {
  318. 'command' => {},
  319. 'content' => [
  320. {}
  321. ],
  322. 'content_normalized' => [],
  323. 'in_code' => 0,
  324. 'index_at_command' => 'cindex',
  325. 'index_name' => 'cp',
  326. 'index_type_command' => 'cindex',
  327. 'key' => 'between deffnx',
  328. 'number' => 1
  329. },
  330. 'misc_content' => [],
  331. 'spaces_after_command' => {}
  332. },
  333. 'line_nr' => {
  334. 'file_name' => '',
  335. 'line_nr' => 5,
  336. 'macro' => ''
  337. },
  338. 'parent' => {},
  339. 'type' => 'index_entry_command'
  340. }
  341. ],
  342. 'parent' => {},
  343. 'type' => 'inter_def_item'
  344. },
  345. {
  346. 'args' => [
  347. {
  348. 'contents' => [
  349. {
  350. 'extra' => {
  351. 'command' => {}
  352. },
  353. 'parent' => {},
  354. 'text' => ' ',
  355. 'type' => 'empty_spaces_after_command'
  356. },
  357. {
  358. 'parent' => {},
  359. 'text' => 'cmde2 '
  360. },
  361. {
  362. 'args' => [
  363. {
  364. 'contents' => [
  365. {
  366. 'parent' => {},
  367. 'text' => 'id '
  368. },
  369. {
  370. 'args' => [
  371. {
  372. 'contents' => [
  373. {
  374. 'parent' => {},
  375. 'text' => 'i'
  376. }
  377. ],
  378. 'parent' => {},
  379. 'type' => 'brace_command_arg'
  380. }
  381. ],
  382. 'cmdname' => 'samp',
  383. 'contents' => [],
  384. 'line_nr' => {
  385. 'file_name' => '',
  386. 'line_nr' => 6,
  387. 'macro' => ''
  388. },
  389. 'parent' => {}
  390. },
  391. {
  392. 'parent' => {},
  393. 'text' => ' ule'
  394. }
  395. ],
  396. 'parent' => {},
  397. 'type' => 'brace_command_arg'
  398. }
  399. ],
  400. 'cmdname' => 'b',
  401. 'contents' => [],
  402. 'line_nr' => {},
  403. 'parent' => {}
  404. },
  405. {
  406. 'parent' => {},
  407. 'text' => ' truc
  408. '
  409. }
  410. ],
  411. 'parent' => {},
  412. 'type' => 'misc_line_arg'
  413. }
  414. ],
  415. 'cmdname' => 'deffnx',
  416. 'extra' => {
  417. 'def_args' => [
  418. [
  419. 'category',
  420. {
  421. 'text' => 'cmde2'
  422. }
  423. ],
  424. [
  425. 'spaces',
  426. {
  427. 'text' => ' ',
  428. 'type' => 'spaces'
  429. }
  430. ],
  431. [
  432. 'name',
  433. {}
  434. ],
  435. [
  436. 'spaces',
  437. {
  438. 'text' => ' ',
  439. 'type' => 'spaces'
  440. }
  441. ],
  442. [
  443. 'arg',
  444. {
  445. 'text' => 'truc'
  446. }
  447. ]
  448. ],
  449. 'def_command' => 'deffn',
  450. 'def_parsed_hash' => {
  451. 'category' => {},
  452. 'name' => {}
  453. },
  454. 'index_entry' => {
  455. 'command' => {},
  456. 'content' => [
  457. {}
  458. ],
  459. 'content_normalized' => [
  460. {}
  461. ],
  462. 'in_code' => 1,
  463. 'index_at_command' => 'deffnx',
  464. 'index_name' => 'fn',
  465. 'index_type_command' => 'deffn',
  466. 'key' => 'id i ule',
  467. 'number' => 3
  468. },
  469. 'original_def_cmdname' => 'deffnx',
  470. 'spaces_after_command' => {}
  471. },
  472. 'line_nr' => {},
  473. 'parent' => {},
  474. 'type' => 'def_line'
  475. },
  476. {
  477. 'contents' => [
  478. {
  479. 'args' => [
  480. {
  481. 'contents' => [
  482. {
  483. 'extra' => {
  484. 'command' => {}
  485. },
  486. 'parent' => {},
  487. 'text' => ' ',
  488. 'type' => 'empty_spaces_after_command'
  489. },
  490. {
  491. 'parent' => {},
  492. 'text' => 'cindex in deff item'
  493. },
  494. {
  495. 'parent' => {},
  496. 'text' => '
  497. ',
  498. 'type' => 'spaces_at_end'
  499. }
  500. ],
  501. 'parent' => {},
  502. 'type' => 'misc_line_arg'
  503. }
  504. ],
  505. 'cmdname' => 'cindex',
  506. 'extra' => {
  507. 'index_entry' => {
  508. 'command' => {},
  509. 'content' => [
  510. {}
  511. ],
  512. 'content_normalized' => [],
  513. 'in_code' => 0,
  514. 'index_at_command' => 'cindex',
  515. 'index_name' => 'cp',
  516. 'index_type_command' => 'cindex',
  517. 'key' => 'cindex in deff item',
  518. 'number' => 2
  519. },
  520. 'misc_content' => [],
  521. 'spaces_after_command' => {}
  522. },
  523. 'line_nr' => {
  524. 'file_name' => '',
  525. 'line_nr' => 7,
  526. 'macro' => ''
  527. },
  528. 'parent' => {},
  529. 'type' => 'index_entry_command'
  530. },
  531. {
  532. 'parent' => {},
  533. 'text' => '
  534. ',
  535. 'type' => 'empty_line'
  536. },
  537. {
  538. 'contents' => [
  539. {
  540. 'parent' => {},
  541. 'text' => 'In deff item.
  542. '
  543. }
  544. ],
  545. 'parent' => {},
  546. 'type' => 'paragraph'
  547. }
  548. ],
  549. 'parent' => {},
  550. 'type' => 'def_item'
  551. },
  552. {
  553. 'args' => [
  554. {
  555. 'contents' => [
  556. {
  557. 'extra' => {
  558. 'command' => {}
  559. },
  560. 'parent' => {},
  561. 'text' => ' ',
  562. 'type' => 'empty_spaces_after_command'
  563. },
  564. {
  565. 'parent' => {},
  566. 'text' => 'deffn'
  567. },
  568. {
  569. 'parent' => {},
  570. 'text' => '
  571. ',
  572. 'type' => 'spaces_at_end'
  573. }
  574. ],
  575. 'parent' => {},
  576. 'type' => 'misc_line_arg'
  577. }
  578. ],
  579. 'cmdname' => 'end',
  580. 'extra' => {
  581. 'command' => {},
  582. 'command_argument' => 'deffn',
  583. 'spaces_after_command' => {},
  584. 'text_arg' => 'deffn'
  585. },
  586. 'line_nr' => {
  587. 'file_name' => '',
  588. 'line_nr' => 10,
  589. 'macro' => ''
  590. },
  591. 'parent' => {}
  592. }
  593. ],
  594. 'extra' => {
  595. 'end_command' => {},
  596. 'spaces_after_command' => {}
  597. },
  598. 'line_nr' => {},
  599. 'parent' => {}
  600. }
  601. ],
  602. 'type' => 'text_root'
  603. };
  604. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0];
  605. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0];
  606. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0];
  607. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'args'}[0];
  608. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2];
  609. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0];
  610. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[3]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0];
  611. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0];
  612. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'extra'}{'def_args'}[2][1] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2];
  613. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'extra'}{'def_parsed_hash'}{'category'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'extra'}{'def_args'}[0][1];
  614. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'extra'}{'def_parsed_hash'}{'name'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2];
  615. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0];
  616. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content'}[0] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2];
  617. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'}[0] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2];
  618. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'line_nr'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'line_nr'};
  619. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0];
  620. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
  621. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[1];
  622. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[1];
  623. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0];
  624. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2];
  625. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0];
  626. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0];
  627. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2];
  628. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2];
  629. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'extra'}{'spaces_before_argument'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'contents'}[0];
  630. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0];
  631. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[3]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0];
  632. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[4]{'line_nr'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'line_nr'};
  633. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[4]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0];
  634. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[5]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0];
  635. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2];
  636. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'extra'}{'def_args'}[2][1] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2];
  637. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'extra'}{'def_args'}[4][1] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[4];
  638. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'extra'}{'def_parsed_hash'}{'category'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'extra'}{'def_args'}[0][1];
  639. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'extra'}{'def_parsed_hash'}{'name'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2];
  640. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'extra'}{'index_entry'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2];
  641. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'extra'}{'index_entry'}{'content'}[0] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2];
  642. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'extra'}{'index_entry'}{'content_normalized'}[0] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2];
  643. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'extra'}{'spaces_after_command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
  644. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'line_nr'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'line_nr'};
  645. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0];
  646. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0];
  647. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0];
  648. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0];
  649. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0];
  650. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0];
  651. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'extra'}{'index_entry'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0];
  652. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'extra'}{'index_entry'}{'content'}[0] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0]{'contents'}[1];
  653. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'extra'}{'index_entry'}{'content'};
  654. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'extra'}{'misc_content'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'extra'}{'index_entry'}{'content'};
  655. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'args'}[0]{'contents'}[0];
  656. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3];
  657. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[3]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0];
  658. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4];
  659. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0];
  660. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0];
  661. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0];
  662. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'args'}[0];
  663. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1];
  664. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0];
  665. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0];
  666. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2];
  667. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'line_nr'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'line_nr'};
  668. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0];
  669. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[3]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0];
  670. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4];
  671. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'extra'}{'def_args'}[2][1] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2];
  672. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'extra'}{'def_parsed_hash'}{'category'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'extra'}{'def_args'}[0][1];
  673. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'extra'}{'def_parsed_hash'}{'name'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2];
  674. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'extra'}{'index_entry'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4];
  675. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'extra'}{'index_entry'}{'content'}[0] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2];
  676. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'extra'}{'index_entry'}{'content_normalized'}[0] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2];
  677. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'extra'}{'spaces_after_command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0];
  678. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'line_nr'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'args'}[0]{'contents'}[1]{'line_nr'};
  679. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[4]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0];
  680. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0];
  681. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0];
  682. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0];
  683. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0];
  684. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0];
  685. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'extra'}{'index_entry'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0];
  686. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'extra'}{'index_entry'}{'content'}[0] = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0]{'contents'}[1];
  687. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'extra'}{'index_entry'}{'content_normalized'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'extra'}{'index_entry'}{'content'};
  688. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'extra'}{'misc_content'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'extra'}{'index_entry'}{'content'};
  689. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'args'}[0]{'contents'}[0];
  690. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5];
  691. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5];
  692. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[2];
  693. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'contents'}[2]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5];
  694. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[5]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0];
  695. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6];
  696. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'args'}[0];
  697. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'args'}[0];
  698. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'args'}[0];
  699. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'args'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6];
  700. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'extra'}{'command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0];
  701. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'extra'}{'spaces_after_command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[0];
  702. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6]{'parent'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0];
  703. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'extra'}{'end_command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[6];
  704. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
  705. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'line_nr'} = $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'line_nr'};
  706. $result_trees{'inter_item_commands_in_def'}{'contents'}[0]{'parent'} = $result_trees{'inter_item_commands_in_def'};
  707. $result_texis{'inter_item_commands_in_def'} = '@deffn fset @var{i} a g
  708. @c comment before first deffnx
  709. @deffnx Command { log trap1} {}
  710. @cindex between deffnx
  711. @deffnx cmde2 @b{id @samp{i} ule} truc
  712. @cindex cindex in deff item
  713. In deff item.
  714. @end deffn
  715. ';
  716. $result_texts{'inter_item_commands_in_def'} = 'fset: i a g
  717. Command: log trap1
  718. cmde2: id i ule truc
  719. In deff item.
  720. ';
  721. $result_errors{'inter_item_commands_in_def'} = [
  722. {
  723. 'error_line' => ':1: warning: entry for index `fn\' outside of any node
  724. ',
  725. 'file_name' => '',
  726. 'line_nr' => 1,
  727. 'macro' => '',
  728. 'text' => 'entry for index `fn\' outside of any node',
  729. 'type' => 'warning'
  730. },
  731. {
  732. 'error_line' => ':4: warning: entry for index `fn\' outside of any node
  733. ',
  734. 'file_name' => '',
  735. 'line_nr' => 4,
  736. 'macro' => '',
  737. 'text' => 'entry for index `fn\' outside of any node',
  738. 'type' => 'warning'
  739. },
  740. {
  741. 'error_line' => ':5: warning: entry for index `cp\' outside of any node
  742. ',
  743. 'file_name' => '',
  744. 'line_nr' => 5,
  745. 'macro' => '',
  746. 'text' => 'entry for index `cp\' outside of any node',
  747. 'type' => 'warning'
  748. },
  749. {
  750. 'error_line' => ':6: warning: entry for index `fn\' outside of any node
  751. ',
  752. 'file_name' => '',
  753. 'line_nr' => 6,
  754. 'macro' => '',
  755. 'text' => 'entry for index `fn\' outside of any node',
  756. 'type' => 'warning'
  757. },
  758. {
  759. 'error_line' => ':7: warning: entry for index `cp\' outside of any node
  760. ',
  761. 'file_name' => '',
  762. 'line_nr' => 7,
  763. 'macro' => '',
  764. 'text' => 'entry for index `cp\' outside of any node',
  765. 'type' => 'warning'
  766. }
  767. ];
  768. $result_converted{'plaintext'}->{'inter_item_commands_in_def'} = ' -- fset: I a g
  769. -- Command: log trap1
  770. -- cmde2: id \'i\' ule truc
  771. In deff item.
  772. ';
  773. 1;