code:
use vars qw(%result_texis %result_texts %result_trees %result_errors
   %result_indices %result_sectioning %result_nodes %result_menus
   %result_floats %result_converted %result_converted_errors
   %result_elements %result_directions_text);

use utf8;

$result_trees{'loweredheading'} = {
  'contents' => [
    {
      'contents' => [
        {
          'args' => [
            {
              'parent' => {},
              'text' => '
',
              'type' => 'misc_arg'
            }
          ],
          'cmdname' => 'lowersections',
          'parent' => {}
        }
      ],
      'parent' => {},
      'type' => 'text_root'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'Foo'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'section',
      'contents' => [
        {
          'args' => [
            {
              'contents' => [
                {
                  'extra' => {
                    'command' => {}
                  },
                  'parent' => {},
                  'text' => ' ',
                  'type' => 'empty_spaces_after_command'
                },
                {
                  'parent' => {},
                  'text' => 'Bar'
                },
                {
                  'parent' => {},
                  'text' => '
',
                  'type' => 'spaces_at_end'
                }
              ],
              'parent' => {},
              'type' => 'misc_line_arg'
            }
          ],
          'cmdname' => 'heading',
          'extra' => {
            'misc_content' => [
              {}
            ],
            'sections_level' => -1,
            'spaces_after_command' => {}
          },
          'level' => 3,
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 3,
            'macro' => ''
          },
          'parent' => {}
        }
      ],
      'extra' => {
        'misc_content' => [
          {}
        ],
        'sections_level' => -1,
        'spaces_after_command' => {}
      },
      'level' => 3,
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 2,
        'macro' => ''
      },
      'number' => 1,
      'parent' => {}
    },
    {
      'args' => [
        {
          'parent' => {},
          'text' => '
',
          'type' => 'misc_arg'
        }
      ],
      'cmdname' => 'bye',
      'parent' => {}
    }
  ],
  'type' => 'document_root'
};
$result_trees{'loweredheading'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'loweredheading'}{'contents'}[0]{'contents'}[0];
$result_trees{'loweredheading'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'loweredheading'}{'contents'}[0];
$result_trees{'loweredheading'}{'contents'}[0]{'parent'} = $result_trees{'loweredheading'};
$result_trees{'loweredheading'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'loweredheading'}{'contents'}[1];
$result_trees{'loweredheading'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'loweredheading'}{'contents'}[1]{'args'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'loweredheading'}{'contents'}[1]{'args'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'loweredheading'}{'contents'}[1]{'args'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'loweredheading'}{'contents'}[1];
$result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'} = $result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'extra'}{'misc_content'}[0] = $result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1];
$result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'loweredheading'}{'contents'}[1];
$result_trees{'loweredheading'}{'contents'}[1]{'extra'}{'misc_content'}[0] = $result_trees{'loweredheading'}{'contents'}[1]{'args'}[0]{'contents'}[1];
$result_trees{'loweredheading'}{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'loweredheading'}{'contents'}[1]{'args'}[0]{'contents'}[0];
$result_trees{'loweredheading'}{'contents'}[1]{'parent'} = $result_trees{'loweredheading'};
$result_trees{'loweredheading'}{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'loweredheading'}{'contents'}[2];
$result_trees{'loweredheading'}{'contents'}[2]{'parent'} = $result_trees{'loweredheading'};

$result_texis{'loweredheading'} = '@lowersections
@section Foo
@heading Bar
@bye
';

$result_texts{'loweredheading'} = '1 Foo
-----
Bar
---
';

$result_sectioning{'loweredheading'} = {
  'level' => 2,
  'section_childs' => [
    {
      'cmdname' => 'section',
      'extra' => {
        'sections_level' => -1
      },
      'level' => 3,
      'number' => 1,
      'section_up' => {}
    }
  ]
};
$result_sectioning{'loweredheading'}{'section_childs'}[0]{'section_up'} = $result_sectioning{'loweredheading'};

$result_errors{'loweredheading'} = [];

1;

repo_name: mthl/texinfo

license: mit


code:
use vars qw(%result_texis %result_texts %result_trees %result_errors
   %result_indices %result_sectioning %result_nodes %result_menus
   %result_floats %result_converted %result_converted_errors
   %result_elements %result_directions_text);

use utf8;

$result_trees{'menutextorder'} = {
  'contents' => [
    {
      'contents' => [
        {
          'cmdname' => 'menu',
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => '
',
              'type' => 'empty_line_after_command'
            },
            {
              'args' => [
                {
                  'parent' => {},
                  'text' => '* ',
                  'type' => 'menu_entry_leading_text'
                },
                {
                  'contents' => [
                    {
                      'parent' => {},
                      'text' => 'foo'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_node'
                },
                {
                  'parent' => {},
                  'text' => '::',
                  'type' => 'menu_entry_separator'
                },
                {
                  'contents' => [
                    {
                      'contents' => [
                        {
                          'parent' => {},
                          'text' => '
'
                        }
                      ],
                      'parent' => {},
                      'type' => 'preformatted'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_description'
                }
              ],
              'extra' => {
                'menu_entry_description' => {},
                'menu_entry_node' => {
                  'node_content' => [
                    {}
                  ],
                  'normalized' => 'foo'
                }
              },
              'line_nr' => {
                'file_name' => '',
                'line_nr' => 2,
                'macro' => ''
              },
              'parent' => {},
              'type' => 'menu_entry'
            },
            {
              'args' => [
                {
                  'parent' => {},
                  'text' => '* ',
                  'type' => 'menu_entry_leading_text'
                },
                {
                  'contents' => [
                    {
                      'parent' => {},
                      'text' => 'bar'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_node'
                },
                {
                  'parent' => {},
                  'text' => '::',
                  'type' => 'menu_entry_separator'
                },
                {
                  'contents' => [
                    {
                      'contents' => [
                        {
                          'parent' => {},
                          'text' => '
'
                        }
                      ],
                      'parent' => {},
                      'type' => 'preformatted'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_description'
                }
              ],
              'extra' => {
                'menu_entry_description' => {},
                'menu_entry_node' => {
                  'node_content' => [
                    {}
                  ],
                  'normalized' => 'bar'
                }
              },
              'line_nr' => {
                'file_name' => '',
                'line_nr' => 3,
                'macro' => ''
              },
              'parent' => {},
              'type' => 'menu_entry'
            },
            {
              'args' => [
                {
                  'contents' => [
                    {
                      'extra' => {
                        'command' => {}
                      },
                      'parent' => {},
                      'text' => ' ',
                      'type' => 'empty_spaces_after_command'
                    },
                    {
                      'parent' => {},
                      'text' => 'menu'
                    },
                    {
                      'parent' => {},
                      'text' => '
',
                      'type' => 'spaces_at_end'
                    }
                  ],
                  'parent' => {},
                  'type' => 'misc_line_arg'
                }
              ],
              'cmdname' => 'end',
              'extra' => {
                'command' => {},
                'command_argument' => 'menu',
                'spaces_after_command' => {},
                'text_arg' => 'menu'
              },
              'line_nr' => {
                'file_name' => '',
                'line_nr' => 4,
                'macro' => ''
              },
              'parent' => {}
            }
          ],
          'extra' => {
            'end_command' => {},
            'spaces_after_command' => {}
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 1,
            'macro' => ''
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        }
      ],
      'parent' => {},
      'type' => 'text_root'
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'bar'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'node',
      'contents' => [],
      'extra' => {
        'node_content' => [
          {}
        ],
        'nodes_manuals' => [
          {
            'node_content' => [],
            'normalized' => 'bar'
          }
        ],
        'normalized' => 'bar',
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 6,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'bar'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'chapter',
      'contents' => [
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        },
        {
          'cmdname' => 'menu',
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => '
',
              'type' => 'empty_line_after_command'
            },
            {
              'args' => [
                {
                  'parent' => {},
                  'text' => '* ',
                  'type' => 'menu_entry_leading_text'
                },
                {
                  'contents' => [
                    {
                      'parent' => {},
                      'text' => 'onesub2'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_node'
                },
                {
                  'parent' => {},
                  'text' => '::',
                  'type' => 'menu_entry_separator'
                },
                {
                  'contents' => [
                    {
                      'contents' => [
                        {
                          'parent' => {},
                          'text' => '
'
                        }
                      ],
                      'parent' => {},
                      'type' => 'preformatted'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_description'
                }
              ],
              'extra' => {
                'menu_entry_description' => {},
                'menu_entry_node' => {
                  'node_content' => [
                    {}
                  ],
                  'normalized' => 'onesub2'
                }
              },
              'line_nr' => {
                'file_name' => '',
                'line_nr' => 10,
                'macro' => ''
              },
              'parent' => {},
              'type' => 'menu_entry'
            },
            {
              'args' => [
                {
                  'contents' => [
                    {
                      'extra' => {
                        'command' => {}
                      },
                      'parent' => {},
                      'text' => ' ',
                      'type' => 'empty_spaces_after_command'
                    },
                    {
                      'parent' => {},
                      'text' => 'menu'
                    },
                    {
                      'parent' => {},
                      'text' => '
',
                      'type' => 'spaces_at_end'
                    }
                  ],
                  'parent' => {},
                  'type' => 'misc_line_arg'
                }
              ],
              'cmdname' => 'end',
              'extra' => {
                'command' => {},
                'command_argument' => 'menu',
                'spaces_after_command' => {},
                'text_arg' => 'menu'
              },
              'line_nr' => {
                'file_name' => '',
                'line_nr' => 11,
                'macro' => ''
              },
              'parent' => {}
            }
          ],
          'extra' => {
            'end_command' => {},
            'spaces_after_command' => {}
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 9,
            'macro' => ''
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        }
      ],
      'extra' => {
        'misc_content' => [
          {}
        ],
        'spaces_after_command' => {}
      },
      'level' => 1,
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 7,
        'macro' => ''
      },
      'number' => 1,
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'onesub1'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'node',
      'contents' => [],
      'extra' => {
        'node_content' => [
          {}
        ],
        'nodes_manuals' => [
          {
            'node_content' => [],
            'normalized' => 'onesub1'
          }
        ],
        'normalized' => 'onesub1',
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 13,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'One sub 1'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'section',
      'contents' => [
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        }
      ],
      'extra' => {
        'misc_content' => [
          {}
        ],
        'spaces_after_command' => {}
      },
      'level' => 2,
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 14,
        'macro' => ''
      },
      'number' => '1.1',
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'onesub2'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'node',
      'contents' => [],
      'extra' => {
        'node_content' => [
          {}
        ],
        'nodes_manuals' => [
          {
            'node_content' => [],
            'normalized' => 'onesub2'
          }
        ],
        'normalized' => 'onesub2',
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 16,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'One sub 2'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'section',
      'contents' => [
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        }
      ],
      'extra' => {
        'misc_content' => [
          {}
        ],
        'spaces_after_command' => {}
      },
      'level' => 2,
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 17,
        'macro' => ''
      },
      'number' => '1.2',
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'foo'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'node',
      'contents' => [],
      'extra' => {
        'node_content' => [
          {}
        ],
        'nodes_manuals' => [
          {
            'node_content' => [],
            'normalized' => 'foo'
          }
        ],
        'normalized' => 'foo',
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 20,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'foo'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'chapter',
      'contents' => [
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        },
        {
          'cmdname' => 'menu',
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => '
',
              'type' => 'empty_line_after_command'
            },
            {
              'args' => [
                {
                  'parent' => {},
                  'text' => '* ',
                  'type' => 'menu_entry_leading_text'
                },
                {
                  'contents' => [
                    {
                      'parent' => {},
                      'text' => 'sub1'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_node'
                },
                {
                  'parent' => {},
                  'text' => '::',
                  'type' => 'menu_entry_separator'
                },
                {
                  'contents' => [
                    {
                      'contents' => [
                        {
                          'parent' => {},
                          'text' => '
'
                        }
                      ],
                      'parent' => {},
                      'type' => 'preformatted'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_description'
                }
              ],
              'extra' => {
                'menu_entry_description' => {},
                'menu_entry_node' => {
                  'node_content' => [
                    {}
                  ],
                  'normalized' => 'sub1'
                }
              },
              'line_nr' => {
                'file_name' => '',
                'line_nr' => 24,
                'macro' => ''
              },
              'parent' => {},
              'type' => 'menu_entry'
            },
            {
              'args' => [
                {
                  'parent' => {},
                  'text' => '* ',
                  'type' => 'menu_entry_leading_text'
                },
                {
                  'contents' => [
                    {
                      'parent' => {},
                      'text' => 'sub3'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_node'
                },
                {
                  'parent' => {},
                  'text' => '::',
                  'type' => 'menu_entry_separator'
                },
                {
                  'contents' => [
                    {
                      'contents' => [
                        {
                          'parent' => {},
                          'text' => '
'
                        }
                      ],
                      'parent' => {},
                      'type' => 'preformatted'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_description'
                }
              ],
              'extra' => {
                'menu_entry_description' => {},
                'menu_entry_node' => {
                  'node_content' => [
                    {}
                  ],
                  'normalized' => 'sub3'
                }
              },
              'line_nr' => {
                'file_name' => '',
                'line_nr' => 25,
                'macro' => ''
              },
              'parent' => {},
              'type' => 'menu_entry'
            },
            {
              'args' => [
                {
                  'parent' => {},
                  'text' => '* ',
                  'type' => 'menu_entry_leading_text'
                },
                {
                  'contents' => [
                    {
                      'parent' => {},
                      'text' => 'sub2'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_node'
                },
                {
                  'parent' => {},
                  'text' => '::',
                  'type' => 'menu_entry_separator'
                },
                {
                  'contents' => [
                    {
                      'contents' => [
                        {
                          'parent' => {},
                          'text' => '
'
                        }
                      ],
                      'parent' => {},
                      'type' => 'preformatted'
                    }
                  ],
                  'parent' => {},
                  'type' => 'menu_entry_description'
                }
              ],
              'extra' => {
                'menu_entry_description' => {},
                'menu_entry_node' => {
                  'node_content' => [
                    {}
                  ],
                  'normalized' => 'sub2'
                }
              },
              'line_nr' => {
                'file_name' => '',
                'line_nr' => 26,
                'macro' => ''
              },
              'parent' => {},
              'type' => 'menu_entry'
            },
            {
              'args' => [
                {
                  'contents' => [
                    {
                      'extra' => {
                        'command' => {}
                      },
                      'parent' => {},
                      'text' => ' ',
                      'type' => 'empty_spaces_after_command'
                    },
                    {
                      'parent' => {},
                      'text' => 'menu'
                    },
                    {
                      'parent' => {},
                      'text' => '
',
                      'type' => 'spaces_at_end'
                    }
                  ],
                  'parent' => {},
                  'type' => 'misc_line_arg'
                }
              ],
              'cmdname' => 'end',
              'extra' => {
                'command' => {},
                'command_argument' => 'menu',
                'spaces_after_command' => {},
                'text_arg' => 'menu'
              },
              'line_nr' => {
                'file_name' => '',
                'line_nr' => 27,
                'macro' => ''
              },
              'parent' => {}
            }
          ],
          'extra' => {
            'end_command' => {},
            'spaces_after_command' => {}
          },
          'line_nr' => {
            'file_name' => '',
            'line_nr' => 23,
            'macro' => ''
          },
          'parent' => {}
        },
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        }
      ],
      'extra' => {
        'misc_content' => [
          {}
        ],
        'spaces_after_command' => {}
      },
      'level' => 1,
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 21,
        'macro' => ''
      },
      'number' => 2,
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'sub1'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'node',
      'contents' => [],
      'extra' => {
        'node_content' => [
          {}
        ],
        'nodes_manuals' => [
          {
            'node_content' => [],
            'normalized' => 'sub1'
          }
        ],
        'normalized' => 'sub1',
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 29,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'Sub1'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'section',
      'contents' => [
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        }
      ],
      'extra' => {
        'misc_content' => [
          {}
        ],
        'spaces_after_command' => {}
      },
      'level' => 2,
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 30,
        'macro' => ''
      },
      'number' => '2.1',
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'sub2'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'node',
      'contents' => [],
      'extra' => {
        'node_content' => [
          {}
        ],
        'nodes_manuals' => [
          {
            'node_content' => [],
            'normalized' => 'sub2'
          }
        ],
        'normalized' => 'sub2',
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 32,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'Sub2'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'section',
      'contents' => [
        {
          'parent' => {},
          'text' => '
',
          'type' => 'empty_line'
        }
      ],
      'extra' => {
        'misc_content' => [
          {}
        ],
        'spaces_after_command' => {}
      },
      'level' => 2,
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 33,
        'macro' => ''
      },
      'number' => '2.2',
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'sub3'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'node',
      'contents' => [],
      'extra' => {
        'node_content' => [
          {}
        ],
        'nodes_manuals' => [
          {
            'node_content' => [],
            'normalized' => 'sub3'
          }
        ],
        'normalized' => 'sub3',
        'spaces_after_command' => {}
      },
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 35,
        'macro' => ''
      },
      'parent' => {}
    },
    {
      'args' => [
        {
          'contents' => [
            {
              'extra' => {
                'command' => {}
              },
              'parent' => {},
              'text' => ' ',
              'type' => 'empty_spaces_after_command'
            },
            {
              'parent' => {},
              'text' => 'Sub3'
            },
            {
              'parent' => {},
              'text' => '
',
              'type' => 'spaces_at_end'
            }
          ],
          'parent' => {},
          'type' => 'misc_line_arg'
        }
      ],
      'cmdname' => 'section',
      'contents' => [],
      'extra' => {
        'misc_content' => [
          {}
        ],
        'spaces_after_command' => {}
      },
      'level' => 2,
      'line_nr' => {
        'file_name' => '',
        'line_nr' => 36,
        'macro' => ''
      },
      'number' => '2.3',
      'parent' => {}
    }
  ],
  'type' => 'document_root'
};
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[1];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[3]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[3]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'extra'}{'menu_entry_description'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'args'}[1]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[1];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[3]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[3]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'menu_entry_description'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'menu_entry_node'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[1]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'extra'}{'end_command'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[3];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[0]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[1]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[1]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[1]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[1]{'extra'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[1]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'} = $result_trees{'menutextorder'}{'contents'}[1]{'extra'}{'node_content'};
$result_trees{'menutextorder'}{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[1]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[1]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_description'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'extra'}{'end_command'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[2]{'extra'}{'misc_content'}[0] = $result_trees{'menutextorder'}{'contents'}[2]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[2]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[2]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[2]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[3];
$result_trees{'menutextorder'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[3]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[3]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[3]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[3];
$result_trees{'menutextorder'}{'contents'}[3]{'extra'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[3]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[3]{'extra'}{'nodes_manuals'}[0]{'node_content'} = $result_trees{'menutextorder'}{'contents'}[3]{'extra'}{'node_content'};
$result_trees{'menutextorder'}{'contents'}[3]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[3]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[3]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[4];
$result_trees{'menutextorder'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[4]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[4]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[4]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[4];
$result_trees{'menutextorder'}{'contents'}[4]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[4];
$result_trees{'menutextorder'}{'contents'}[4]{'extra'}{'misc_content'}[0] = $result_trees{'menutextorder'}{'contents'}[4]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[4]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[4]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[4]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[5];
$result_trees{'menutextorder'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[5]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[5]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[5]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[5]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[5]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[5]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[5];
$result_trees{'menutextorder'}{'contents'}[5]{'extra'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[5]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[5]{'extra'}{'nodes_manuals'}[0]{'node_content'} = $result_trees{'menutextorder'}{'contents'}[5]{'extra'}{'node_content'};
$result_trees{'menutextorder'}{'contents'}[5]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[5]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[5]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[6]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[6];
$result_trees{'menutextorder'}{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[6]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[6]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[6]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[6]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[6]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[6]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[6];
$result_trees{'menutextorder'}{'contents'}[6]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[6];
$result_trees{'menutextorder'}{'contents'}[6]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[6];
$result_trees{'menutextorder'}{'contents'}[6]{'extra'}{'misc_content'}[0] = $result_trees{'menutextorder'}{'contents'}[6]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[6]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[6]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[6]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[7]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[7];
$result_trees{'menutextorder'}{'contents'}[7]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[7]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[7]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[7]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[7]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[7]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[7]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[7];
$result_trees{'menutextorder'}{'contents'}[7]{'extra'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[7]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[7]{'extra'}{'nodes_manuals'}[0]{'node_content'} = $result_trees{'menutextorder'}{'contents'}[7]{'extra'}{'node_content'};
$result_trees{'menutextorder'}{'contents'}[7]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[7]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[7]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[8]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[8];
$result_trees{'menutextorder'}{'contents'}[8]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[3]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_description'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[3]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'extra'}{'menu_entry_description'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'extra'}{'menu_entry_node'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'args'}[1]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[1]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[3]{'contents'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[3]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[3]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[3]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'extra'}{'menu_entry_description'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[3];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'extra'}{'menu_entry_node'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'args'}[1]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[3]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'extra'}{'end_command'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[4];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8];
$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[8];
$result_trees{'menutextorder'}{'contents'}[8]{'extra'}{'misc_content'}[0] = $result_trees{'menutextorder'}{'contents'}[8]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[8]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[8]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[8]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[9]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[9];
$result_trees{'menutextorder'}{'contents'}[9]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[9]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[9]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[9]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[9]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[9]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[9]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[9];
$result_trees{'menutextorder'}{'contents'}[9]{'extra'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[9]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[9]{'extra'}{'nodes_manuals'}[0]{'node_content'} = $result_trees{'menutextorder'}{'contents'}[9]{'extra'}{'node_content'};
$result_trees{'menutextorder'}{'contents'}[9]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[9]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[9]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[10]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[10];
$result_trees{'menutextorder'}{'contents'}[10]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[10]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[10]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[10]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[10]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[10]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[10]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[10];
$result_trees{'menutextorder'}{'contents'}[10]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[10];
$result_trees{'menutextorder'}{'contents'}[10]{'extra'}{'misc_content'}[0] = $result_trees{'menutextorder'}{'contents'}[10]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[10]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[10]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[10]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[11]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[11];
$result_trees{'menutextorder'}{'contents'}[11]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[11]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[11]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[11]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[11]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[11]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[11]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[11];
$result_trees{'menutextorder'}{'contents'}[11]{'extra'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[11]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[11]{'extra'}{'nodes_manuals'}[0]{'node_content'} = $result_trees{'menutextorder'}{'contents'}[11]{'extra'}{'node_content'};
$result_trees{'menutextorder'}{'contents'}[11]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[11]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[11]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[12]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[12];
$result_trees{'menutextorder'}{'contents'}[12]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[12]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[12]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[12]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[12]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[12]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[12]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[12];
$result_trees{'menutextorder'}{'contents'}[12]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[12];
$result_trees{'menutextorder'}{'contents'}[12]{'extra'}{'misc_content'}[0] = $result_trees{'menutextorder'}{'contents'}[12]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[12]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[12]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[12]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[13]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[13];
$result_trees{'menutextorder'}{'contents'}[13]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[13]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[13]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[13]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[13]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[13]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[13]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[13];
$result_trees{'menutextorder'}{'contents'}[13]{'extra'}{'node_content'}[0] = $result_trees{'menutextorder'}{'contents'}[13]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[13]{'extra'}{'nodes_manuals'}[0]{'node_content'} = $result_trees{'menutextorder'}{'contents'}[13]{'extra'}{'node_content'};
$result_trees{'menutextorder'}{'contents'}[13]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[13]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[13]{'parent'} = $result_trees{'menutextorder'};
$result_trees{'menutextorder'}{'contents'}[14]{'args'}[0]{'contents'}[0]{'extra'}{'command'} = $result_trees{'menutextorder'}{'contents'}[14];
$result_trees{'menutextorder'}{'contents'}[14]{'args'}[0]{'contents'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[14]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[14]{'args'}[0]{'contents'}[1]{'parent'} = $result_trees{'menutextorder'}{'contents'}[14]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[14]{'args'}[0]{'contents'}[2]{'parent'} = $result_trees{'menutextorder'}{'contents'}[14]{'args'}[0];
$result_trees{'menutextorder'}{'contents'}[14]{'args'}[0]{'parent'} = $result_trees{'menutextorder'}{'contents'}[14];
$result_trees{'menutextorder'}{'contents'}[14]{'extra'}{'misc_content'}[0] = $result_trees{'menutextorder'}{'contents'}[14]{'args'}[0]{'contents'}[1];
$result_trees{'menutextorder'}{'contents'}[14]{'extra'}{'spaces_after_command'} = $result_trees{'menutextorder'}{'contents'}[14]{'args'}[0]{'contents'}[0];
$result_trees{'menutextorder'}{'contents'}[14]{'parent'} = $result_trees{'menutextorder'};

$result_texis{'menutextorder'} = '@menu
* foo::
* bar::
@end menu

@node bar
@chapter bar

@menu
* onesub2::
@end menu

@node onesub1
@section One sub 1

@node onesub2
@section One sub 2

@node foo
@chapter foo

@menu
* sub1::
* sub3::
* sub2::
@end menu

@node sub1
@section Sub1

@node sub2
@section Sub2

@node sub3
@section Sub3
';

$result_texts{'menutextorder'} = '* foo::
* bar::

1 bar
*****

* onesub2::

1.1 One sub 1
=============

1.2 One sub 2
=============

2 foo
*****

* sub1::
* sub3::
* sub2::

2.1 Sub1
========

2.2 Sub2
========

2.3 Sub3
========
';

$result_sectioning{'menutextorder'} = {
  'level' => 0,
  'section_childs' => [
    {
      'cmdname' => 'chapter',
      'extra' => {
        'associated_node' => {
          'cmdname' => 'node',
          'extra' => {
            'normalized' => 'bar'
          }
        }
      },
      'level' => 1,
      'number' => 1,
      'section_childs' => [
        {
          'cmdname' => 'section',
          'extra' => {
            'associated_node' => {
              'cmdname' => 'node',
              'extra' => {
                'normalized' => 'onesub1'
              }
            }
          },
          'level' => 2,
          'number' => '1.1',
          'section_up' => {}
        },
        {
          'cmdname' => 'section',
          'extra' => {
            'associated_node' => {
              'cmdname' => 'node',
              'extra' => {
                'normalized' => 'onesub2'
              }
            }
          },
          'level' => 2,
          'number' => '1.2',
          'section_prev' => {},
          'section_up' => {}
        }
      ],
      'section_up' => {}
    },
    {
      'cmdname' => 'chapter',
      'extra' => {
        'associated_node' => {
          'cmdname' => 'node',
          'extra' => {
            'normalized' => 'foo'
          }
        }
      },
      'level' => 1,
      'number' => 2,
      'section_childs' => [
        {
          'cmdname' => 'section',
          'extra' => {
            'associated_node' => {
              'cmdname' => 'node',
              'extra' => {
                'normalized' => 'sub1'
              }
            }
          },
          'level' => 2,
          'number' => '2.1',
          'section_up' => {}
        },
        {
          'cmdname' => 'section',
          'extra' => {
            'associated_node' => {
              'cmdname' => 'node',
              'extra' => {
                'normalized' => 'sub2'
              }
            }
          },
          'level' => 2,
          'number' => '2.2',
          'section_prev' => {},
          'section_up' => {}
        },
        {
          'cmdname' => 'section',
          'extra' => {
            'associated_node' => {
              'cmdname' => 'node',
              'extra' => {
                'normalized' => 'sub3'
              }
            }
          },
          'level' => 2,
          'number' => '2.3',
          'section_prev' => {},
          'section_up' => {}
        }
      ],
      'section_prev' => {},
      'section_up' => {},
      'toplevel_prev' => {}
    }
  ]
};
$result_sectioning{'menutextorder'}{'section_childs'}[0]{'section_childs'}[0]{'section_up'} = $result_sectioning{'menutextorder'}{'section_childs'}[0];
$result_sectioning{'menutextorder'}{'section_childs'}[0]{'section_childs'}[1]{'section_prev'} = $result_sectioning{'menutextorder'}{'section_childs'}[0]{'section_childs'}[0];
$result_sectioning{'menutextorder'}{'section_childs'}[0]{'section_childs'}[1]{'section_up'} = $result_sectioning{'menutextorder'}{'section_childs'}[0];
$result_sectioning{'menutextorder'}{'section_childs'}[0]{'section_up'} = $result_sectioning{'menutextorder'};
$result_sectioning{'menutextorder'}{'section_childs'}[1]{'section_childs'}[0]{'section_up'} = $result_sectioning{'menutextorder'}{'section_childs'}[1];
$result_sectioning{'menutextorder'}{'section_childs'}[1]{'section_childs'}[1]{'section_prev'} = $result_sectioning{'menutextorder'}{'section_childs'}[1]{'section_childs'}[0];
$result_sectioning{'menutextorder'}{'section_childs'}[1]{'section_childs'}[1]{'section_up'} = $result_sectioning{'menutextorder'}{'section_childs'}[1];
$result_sectioning{'menutextorder'}{'section_childs'}[1]{'section_childs'}[2]{'section_prev'} = $result_sectioning{'menutextorder'}{'section_childs'}[1]{'section_childs'}[1];
$result_sectioning{'menutextorder'}{'section_childs'}[1]{'section_childs'}[2]{'section_up'} = $result_sectioning{'menutextorder'}{'section_childs'}[1];
$result_sectioning{'menutextorder'}{'section_childs'}[1]{'section_prev'} = $result_sectioning{'menutextorder'}{'section_childs'}[0];
$result_sectioning{'menutextorder'}{'section_childs'}[1]{'section_up'} = $result_sectioning{'menutextorder'};
$result_sectioning{'menutextorder'}{'section_childs'}[1]{'toplevel_prev'} = $result_sectioning{'menutextorder'}{'section_childs'}[0];

$result_nodes{'menutextorder'} = {
  'cmdname' => 'node',
  'extra' => {
    'associated_section' => {
      'cmdname' => 'chapter',
      'extra' => {},
      'level' => 1,
      'number' => 1
    },
    'normalized' => 'bar'
  },
  'menu_child' => {
    'cmdname' => 'node',
    'extra' => {
      'associated_section' => {
        'cmdname' => 'section',
        'extra' => {},
        'level' => 2,
        'number' => '1.2'
      },
      'normalized' => 'onesub2'
    },
    'node_prev' => {
      'cmdname' => 'node',
      'extra' => {
        'associated_section' => {
          'cmdname' => 'section',
          'extra' => {},
          'level' => 2,
          'number' => '1.1'
        },
        'normalized' => 'onesub1'
      },
      'node_next' => {},
      'node_up' => {}
    },
    'node_up' => {}
  },
  'menus' => [
    {
      'cmdname' => 'menu',
      'extra' => {
        'end_command' => {
          'cmdname' => 'end',
          'extra' => {
            'command' => {},
            'command_argument' => 'menu',
            'text_arg' => 'menu'
          }
        }
      }
    }
  ],
  'node_next' => {
    'cmdname' => 'node',
    'extra' => {
      'associated_section' => {
        'cmdname' => 'chapter',
        'extra' => {},
        'level' => 1,
        'number' => 2
      },
      'normalized' => 'foo'
    },
    'menu_child' => {
      'cmdname' => 'node',
      'extra' => {
        'associated_section' => {
          'cmdname' => 'section',
          'extra' => {},
          'level' => 2,
          'number' => '2.1'
        },
        'normalized' => 'sub1'
      },
      'node_next' => {
        'cmdname' => 'node',
        'extra' => {
          'associated_section' => {
            'cmdname' => 'section',
            'extra' => {},
            'level' => 2,
            'number' => '2.2'
          },
          'normalized' => 'sub2'
        },
        'node_next' => {
          'cmdname' => 'node',
          'extra' => {
            'associated_section' => {
              'cmdname' => 'section',
              'extra' => {},
              'level' => 2,
              'number' => '2.3'
            },
            'normalized' => 'sub3'
          },
          'node_next' => {},
          'node_prev' => {},
          'node_up' => {}
        },
        'node_prev' => {},
        'node_up' => {}
      },
      'node_up' => {}
    },
    'menus' => [
      {
        'cmdname' => 'menu',
        'extra' => {
          'end_command' => {
            'cmdname' => 'end',
            'extra' => {
              'command' => {},
              'command_argument' => 'menu',
              'text_arg' => 'menu'
            }
          }
        }
      }
    ],
    'node_prev' => {}
  }
};
$result_nodes{'menutextorder'}{'menu_child'}{'node_prev'}{'node_next'} = $result_nodes{'menutextorder'}{'menu_child'};
$result_nodes{'menutextorder'}{'menu_child'}{'node_prev'}{'node_up'} = $result_nodes{'menutextorder'};
$result_nodes{'menutextorder'}{'menu_child'}{'node_up'} = $result_nodes{'menutextorder'};
$result_nodes{'menutextorder'}{'menus'}[0]{'extra'}{'end_command'}{'extra'}{'command'} = $result_nodes{'menutextorder'}{'menus'}[0];
$result_nodes{'menutextorder'}{'node_next'}{'menu_child'}{'node_next'}{'node_next'}{'node_next'} = $result_nodes{'menutextorder'}{'node_next'}{'menu_child'}{'node_next'};
$result_nodes{'menutextorder'}{'node_next'}{'menu_child'}{'node_next'}{'node_next'}{'node_prev'} = $result_nodes{'menutextorder'}{'node_next'}{'menu_child'}{'node_next'};
$result_nodes{'menutextorder'}{'node_next'}{'menu_child'}{'node_next'}{'node_next'}{'node_up'} = $result_nodes{'menutextorder'}{'node_next'};
$result_nodes{'menutextorder'}{'node_next'}{'menu_child'}{'node_next'}{'node_prev'} = $result_nodes{'menutextorder'}{'node_next'}{'menu_child'};
$result_nodes{'menutextorder'}{'node_next'}{'menu_child'}{'node_next'}{'node_up'} = $result_nodes{'menutextorder'}{'node_next'};
$result_nodes{'menutextorder'}{'node_next'}{'menu_child'}{'node_up'} = $result_nodes{'menutextorder'}{'node_next'};
$result_nodes{'menutextorder'}{'node_next'}{'menus'}[0]{'extra'}{'end_command'}{'extra'}{'command'} = $result_nodes{'menutextorder'}{'node_next'}{'menus'}[0];
$result_nodes{'menutextorder'}{'node_next'}{'node_prev'} = $result_nodes{'menutextorder'};

$result_menus{'menutextorder'} = {
  'cmdname' => 'node',
  'extra' => {
    'normalized' => 'bar'
  },
  'menu_child' => {
    'cmdname' => 'node',
    'extra' => {
      'normalized' => 'onesub2'
    },
    'menu_up' => {},
    'menu_up_hash' => {
      'bar' => 1
    }
  }
};
$result_menus{'menutextorder'}{'menu_child'}{'menu_up'} = $result_menus{'menutextorder'};

$result_errors{'menutextorder'} = [
  {
    'error_line' => ':1: @menu seen before first @node
',
    'file_name' => '',
    'line_nr' => 1,
    'macro' => '',
    'text' => '@menu seen before first @node',
    'type' => 'error'
  },
  {
    'error_line' => ':1: perhaps your @top node should be wrapped in @ifnottex rather than @ifinfo?
',
    'file_name' => '',
    'line_nr' => 1,
    'macro' => '',
    'text' => 'perhaps your @top node should be wrapped in @ifnottex rather than @ifinfo?',
    'type' => 'error'
  },
  {
    'error_line' => ':13: warning: node `onesub2\' is next for `onesub1\' in sectioning but not in menu
',
    'file_name' => '',
    'line_nr' => 13,
    'macro' => '',
    'text' => 'node `onesub2\' is next for `onesub1\' in sectioning but not in menu',
    'type' => 'warning'
  },
  {
    'error_line' => ':13: warning: node `bar\' is up for `onesub1\' in sectioning but not in menu
',
    'file_name' => '',
    'line_nr' => 13,
    'macro' => '',
    'text' => 'node `bar\' is up for `onesub1\' in sectioning but not in menu',
    'type' => 'warning'
  },
  {
    'error_line' => ':6: node `bar\' lacks menu item for `onesub1\' despite being its Up target
',
    'file_name' => '',
    'line_nr' => 6,
    'macro' => '',
    'text' => 'node `bar\' lacks menu item for `onesub1\' despite being its Up target',
    'type' => 'error'
  },
  {
    'error_line' => ':16: warning: node `onesub1\' is prev for `onesub2\' in sectioning but not in menu
',
    'file_name' => '',
    'line_nr' => 16,
    'macro' => '',
    'text' => 'node `onesub1\' is prev for `onesub2\' in sectioning but not in menu',
    'type' => 'warning'
  },
  {
    'error_line' => ':29: warning: node next `sub1\' in menu `sub3\' and in sectioning `sub2\' differ
',
    'file_name' => '',
    'line_nr' => 29,
    'macro' => '',
    'text' => 'node next `sub1\' in menu `sub3\' and in sectioning `sub2\' differ',
    'type' => 'warning'
  },
  {
    'error_line' => ':32: warning: node `sub3\' is next for `sub2\' in sectioning but not in menu
',
    'file_name' => '',
    'line_nr' => 32,
    'macro' => '',
    'text' => 'node `sub3\' is next for `sub2\' in sectioning but not in menu',
    'type' => 'warning'
  },
  {
    'error_line' => ':32: warning: node prev `sub2\' in menu `sub3\' and in sectioning `sub1\' differ
',
    'file_name' => '',
    'line_nr' => 32,
    'macro' => '',
    'text' => 'node prev `sub2\' in menu `sub3\' and in sectioning `sub1\' differ',
    'type' => 'warning'
  },
  {
    'error_line' => ':35: warning: node `sub2\' is next for `sub3\' in menu but not in sectioning
',
    'file_name' => '',
    'line_nr' => 35,
    'macro' => '',
    'text' => 'node `sub2\' is next for `sub3\' in menu but not in sectioning',
    'type' => 'warning'
  },
  {
    'error_line' => ':35: warning: node prev `sub3\' in menu `sub1\' and in sectioning `sub2\' differ
',
    'file_name' => '',
    'line_nr' => 35,
    'macro' => '',
    'text' => 'node prev `sub3\' in menu `sub1\' and in sectioning `sub2\' differ',
    'type' => 'warning'
  }
];

1;