empty_second_email_argument.pl 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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{'empty_second_email_argument'} = {
  7. 'contents' => [
  8. {
  9. 'contents' => [
  10. {
  11. 'args' => [
  12. {
  13. 'contents' => [
  14. {
  15. 'parent' => {},
  16. 'text' => ' ',
  17. 'type' => 'empty_spaces_before_argument'
  18. },
  19. {
  20. 'parent' => {},
  21. 'text' => 'a'
  22. },
  23. {
  24. 'cmdname' => '@',
  25. 'parent' => {}
  26. },
  27. {
  28. 'parent' => {},
  29. 'text' => 'b.c'
  30. }
  31. ],
  32. 'parent' => {},
  33. 'type' => 'brace_command_arg'
  34. },
  35. {
  36. 'contents' => [
  37. {
  38. 'parent' => {},
  39. 'text' => ' ',
  40. 'type' => 'empty_spaces_before_argument'
  41. }
  42. ],
  43. 'parent' => {},
  44. 'type' => 'brace_command_arg'
  45. }
  46. ],
  47. 'cmdname' => 'email',
  48. 'contents' => [],
  49. 'extra' => {
  50. 'brace_command_contents' => [
  51. [
  52. {},
  53. {},
  54. {}
  55. ],
  56. undef
  57. ],
  58. 'spaces_before_argument' => {}
  59. },
  60. 'line_nr' => {
  61. 'file_name' => '',
  62. 'line_nr' => 1,
  63. 'macro' => ''
  64. },
  65. 'parent' => {}
  66. }
  67. ],
  68. 'parent' => {},
  69. 'type' => 'paragraph'
  70. }
  71. ],
  72. 'type' => 'text_root'
  73. };
  74. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0];
  75. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0];
  76. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0];
  77. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[3]{'parent'} = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0];
  78. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0];
  79. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[1];
  80. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[1]{'parent'} = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0];
  81. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0] = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1];
  82. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][1] = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2];
  83. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][2] = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[3];
  84. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'extra'}{'spaces_before_argument'} = $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
  85. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'empty_second_email_argument'}{'contents'}[0];
  86. $result_trees{'empty_second_email_argument'}{'contents'}[0]{'parent'} = $result_trees{'empty_second_email_argument'};
  87. $result_texis{'empty_second_email_argument'} = '@email{ a@@b.c, }';
  88. $result_texts{'empty_second_email_argument'} = 'a@b.c';
  89. $result_errors{'empty_second_email_argument'} = [];
  90. $result_converted{'plaintext'}->{'empty_second_email_argument'} = '<a@b.c>
  91. ';
  92. $result_converted{'html_text'}->{'empty_second_email_argument'} = '<p><a href="mailto:a@b.c">a@b.c</a></p>';
  93. 1;