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 %result_indices_sort_strings); use utf8; $result_trees{'index_and_node_same_name'} = { 'contents' => [ { 'type' => 'before_node_section' }, { 'args' => [ { 'contents' => [ { 'text' => 'top' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'top', 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 1, 'macro' => '' } }, { 'args' => [ { 'contents' => [ { 'text' => 'index node' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'node', 'contents' => [ { 'text' => ' ', 'type' => 'empty_line' }, { 'args' => [ { 'contents' => [ { 'text' => 'node' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'cindex', 'extra' => { 'element_node' => {}, 'index_entry' => [ 'cp', 1 ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 4, 'macro' => '' }, 'type' => 'index_entry_command' }, { 'args' => [ { 'contents' => [ { 'text' => 'cp' } ], 'info' => { 'spaces_after_argument' => { 'text' => ' ' } }, 'type' => 'line_arg' } ], 'cmdname' => 'printindex', 'extra' => { 'misc_args' => [ 'cp' ] }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 5, 'macro' => '' } }, { 'text' => ' ', 'type' => 'empty_line' } ], 'extra' => { 'isindex' => 1, 'normalized' => 'index-node' }, 'info' => { 'spaces_before_argument' => { 'text' => ' ' } }, 'source_info' => { 'file_name' => '', 'line_nr' => 2, 'macro' => '' } } ], 'type' => 'document_root' }; $result_trees{'index_and_node_same_name'}{'contents'}[2]{'contents'}[1]{'extra'}{'element_node'} = $result_trees{'index_and_node_same_name'}{'contents'}[2]; $result_texis{'index_and_node_same_name'} = '@top top @node index node @cindex node @printindex cp '; $result_texts{'index_and_node_same_name'} = 'top *** '; $result_sectioning{'index_and_node_same_name'} = { 'structure' => { 'section_childs' => [ { 'cmdname' => 'top', 'structure' => { 'section_level' => 0, 'section_up' => {} } } ], 'section_level' => -1 } }; $result_sectioning{'index_and_node_same_name'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'} = $result_sectioning{'index_and_node_same_name'}; $result_nodes{'index_and_node_same_name'} = { 'cmdname' => 'node', 'extra' => { 'isindex' => 1, 'normalized' => 'index-node' } }; $result_menus{'index_and_node_same_name'} = { 'cmdname' => 'node', 'extra' => { 'isindex' => 1, 'normalized' => 'index-node' } }; $result_errors{'index_and_node_same_name'} = []; $result_floats{'index_and_node_same_name'} = {}; $result_indices_sort_strings{'index_and_node_same_name'} = { 'cp' => [ 'node' ] }; $result_converted{'html'}->{'index_and_node_same_name'} = '