[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp TODO Texinfo/Convert/Plaintext.pm t/...
From: |
Patrice Dumas |
Subject: |
texinfo/tp TODO Texinfo/Convert/Plaintext.pm t/... |
Date: |
Sun, 27 Feb 2011 21:12:40 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/02/27 21:12:39
Modified files:
tp : TODO
tp/Texinfo/Convert: Plaintext.pm
tp/t : 30sectioning.t info_tests.t
tp/t/results/sectioning: contents.pl
setcontentsaftertitlepage.pl
setshortcontentsaftertitlepage.pl
shortcontents.pl
Added files:
tp/t/results/info_tests: novalidate_empty_refs.pl
tp/t/results/sectioning: empty_refs.pl menutextorder.pl
no_element.pl nodes_before_top.pl
Log message:
Ignore @part.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/TODO?cvsroot=texinfo&r1=1.99&r2=1.100
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Plaintext.pm?cvsroot=texinfo&r1=1.100&r2=1.101
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/30sectioning.t?cvsroot=texinfo&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/info_tests.t?cvsroot=texinfo&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/info_tests/novalidate_empty_refs.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/contents.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/setcontentsaftertitlepage.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/setshortcontentsaftertitlepage.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/shortcontents.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/empty_refs.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/menutextorder.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/no_element.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/nodes_before_top.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: TODO
===================================================================
RCS file: /sources/texinfo/texinfo/tp/TODO,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -b -r1.99 -r1.100
--- TODO 27 Feb 2011 17:28:57 -0000 1.99
+++ TODO 27 Feb 2011 21:12:38 -0000 1.100
@@ -138,7 +138,10 @@
cond_ifhtml_ifinfo_iftex cond.texi --ifhtml --ifinfo --iftex
Maybe:
defcondx_Ubar defcondx_Dbar
+space_in_setfilename
+sectioning
+node_footnote_end
@verbatiminclude formatting/simplest.texi
@@ -181,15 +184,19 @@
interesting)
sectioning/rec_nodes.texi
sectioning/semi_auto.texi
-sectioning/novalidate.texi (only errors that aren't flagged by novalidate
- done)
+sectioning/novalidate.texi (errors that aren't flagged by novalidate
+ done. Not sure the remaining is interesting)
sectioning/test_two_include.texi (not done at all, but it tests
-I address@hidden@../address@hidden@../macros)
sectioning/node-whitespace.tex (but not @ref)
sectioning/loop_nodes.texi
sectioning/sectioning.texi
sectioning/text_before_line_command.texi
-sectioning/empty_nodes.texi (but not the @ref)
+sectioning/empty_nodes.texi
+sectioning/node_footnote.texi (not interesting for Parser or Info, but
+ maybe for html)
+sectioning/nodes_before_top.texi
+sectioning/no_element.texi
indices/unknown_index_entry.texi
indices/more_unknown_index_entry.texi (but without the document structure)
Index: Texinfo/Convert/Plaintext.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Plaintext.pm,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -b -r1.100 -r1.101
--- Texinfo/Convert/Plaintext.pm 27 Feb 2011 20:15:27 -0000 1.100
+++ Texinfo/Convert/Plaintext.pm 27 Feb 2011 21:12:38 -0000 1.101
@@ -1743,8 +1743,9 @@
$result .= $contents;
}
# use settitle for empty @top
+ # ignore @part
my $contents;
- if (@{$root->{'extra'}->{'misc_content'}}) {
+ if (@{$root->{'extra'}->{'misc_content'}} and $root->{'cmdname'} ne
'part') {
$contents = $root->{'extra'}->{'misc_content'};
} elsif ($root->{'cmdname'} eq 'top'
and $self->{'extra'}->{'settitle'}
Index: t/30sectioning.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/30sectioning.t,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- t/30sectioning.t 27 Feb 2011 20:15:27 -0000 1.26
+++ t/30sectioning.t 27 Feb 2011 21:12:38 -0000 1.27
@@ -339,6 +339,40 @@
@xref{node}.
'],
+['no_element',
+'@settitle no_element test
address@hidden ISO-8859-1
+
+
address@hidden anchor}
+
+Ref to the anchor:
address@hidden anchor}
+
+Ref to the anchor in footnote:
address@hidden in footnote}.
+
address@hidden footnote.
+
address@hidden in footnote}
+
+Ref to main text anchor
address@hidden anchor}
+}
+
address@hidden , float anchor
+In float
address@hidden float
+
+Ref to float
address@hidden anchor}.
+
address@hidden
+* An anchor:: menu entry pointing to the anchor.
address@hidden menu
+
address@hidden index entry
+'],
);
my @test_cases = (
@@ -375,6 +409,10 @@
@node @:
@node @asis{ }
'],
+['empty_refs',
+'@xref{@:}.
address@hidden@asis{ }}.
+'],
['at_commands_in_node',
'@node A @sc{sc} node @"i @"address@hidden @address@hidden @l{}
@,address@hidden'C} @exclamdown{}'
],
@@ -743,6 +781,63 @@
@contents
@bye
'],
+['menutextorder',
+'@menu
+* foo::
+* bar::
address@hidden menu
+
address@hidden bar
address@hidden bar
+
address@hidden
+* onesub2::
address@hidden menu
+
address@hidden onesub1
address@hidden One sub 1
+
address@hidden onesub2
address@hidden One sub 2
+
+
address@hidden foo
address@hidden foo
+
address@hidden
+* sub1::
+* sub3::
+* sub2::
address@hidden menu
+
address@hidden sub1
address@hidden Sub1
+
address@hidden sub2
address@hidden Sub2
+
address@hidden sub3
address@hidden Sub3
+'],
+['nodes_before_top',
+'@node first, Top, ,(dir)
+
address@hidden
+* node in menu before top::
address@hidden menu
+
address@hidden node in menu before top,,,first
+
address@hidden Top,,first
address@hidden top section
+
address@hidden
+* second node::
address@hidden menu
+
address@hidden second node
address@hidden a chapter
+'],
);
foreach my $test (@tests_converted) {
Index: t/info_tests.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/info_tests.t,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- t/info_tests.t 27 Feb 2011 15:07:41 -0000 1.22
+++ t/info_tests.t 27 Feb 2011 21:12:38 -0000 1.23
@@ -328,14 +328,19 @@
@node Top
'],
-#['html_expanded',
-#'Before
address@hidden
-#html
address@hidden html
-#after.
-#',{'expanded_formats' => ['html']}
-#],
+['novalidate_empty_refs',
+'
address@hidden
+
address@hidden Top
+
address@hidden@:}.
address@hidden@asis{ }}.
+
address@hidden @
address@hidden @:
address@hidden @asis{ }
+']
);
foreach my $test (@test_cases) {
Index: t/results/sectioning/contents.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/sectioning/contents.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/sectioning/contents.pl 19 Dec 2010 17:25:10 -0000 1.3
+++ t/results/sectioning/contents.pl 27 Feb 2011 21:12:39 -0000 1.4
@@ -801,9 +801,6 @@
1.1.1.1 subsubsection
.....................
-part
-****
-
2 chapter in part
*****************
Index: t/results/sectioning/setcontentsaftertitlepage.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/sectioning/setcontentsaftertitlepage.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/sectioning/setcontentsaftertitlepage.pl 19 Dec 2010 17:25:10
-0000 1.3
+++ t/results/sectioning/setcontentsaftertitlepage.pl 27 Feb 2011 21:12:39
-0000 1.4
@@ -820,9 +820,6 @@
1.1.1.1 subsubsection
.....................
-part
-****
-
2 chapter in part
*****************
Index: t/results/sectioning/setshortcontentsaftertitlepage.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/sectioning/setshortcontentsaftertitlepage.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/sectioning/setshortcontentsaftertitlepage.pl 19 Dec 2010
17:25:10 -0000 1.3
+++ t/results/sectioning/setshortcontentsaftertitlepage.pl 27 Feb 2011
21:12:39 -0000 1.4
@@ -816,9 +816,6 @@
1.1.1.1 subsubsection
.....................
-part
-****
-
2 chapter in part
*****************
Index: t/results/sectioning/shortcontents.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/sectioning/shortcontents.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/sectioning/shortcontents.pl 19 Dec 2010 17:25:10 -0000
1.3
+++ t/results/sectioning/shortcontents.pl 27 Feb 2011 21:12:39 -0000
1.4
@@ -801,9 +801,6 @@
1.1.1.1 subsubsection
.....................
-part
-****
-
2 chapter in part
*****************
Index: t/results/info_tests/novalidate_empty_refs.pl
===================================================================
RCS file: t/results/info_tests/novalidate_empty_refs.pl
diff -N t/results/info_tests/novalidate_empty_refs.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/info_tests/novalidate_empty_refs.pl 27 Feb 2011 21:12:38
-0000 1.1
@@ -0,0 +1,476 @@
+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_trees{'novalidate_empty_refs'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'novalidate',
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'cmdname' => ':',
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'xref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'label' => undef,
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => ''
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'asis',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'xref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'label' => undef,
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => '-'
+ }
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'cmdname' => '
+',
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => '-'
+ }
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'cmdname' => ':',
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => ''
+ }
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'asis',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => '-'
+ }
+ ]
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'novalidate_empty_refs'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[0]{'parent'} =
$result_trees{'novalidate_empty_refs'};
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'novalidate_empty_refs'}{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'line_nr'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'line_nr'};
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'contents'}[3]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'novalidate_empty_refs'}{'contents'}[1]{'parent'} =
$result_trees{'novalidate_empty_refs'};
+$result_trees{'novalidate_empty_refs'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[2]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[2]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'novalidate_empty_refs'}{'contents'}[2];
+$result_trees{'novalidate_empty_refs'}{'contents'}[2]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'novalidate_empty_refs'}{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[2]{'parent'} =
$result_trees{'novalidate_empty_refs'};
+$result_trees{'novalidate_empty_refs'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[3]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[3]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[3]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[3]{'args'}[0]{'parent'} =
$result_trees{'novalidate_empty_refs'}{'contents'}[3];
+$result_trees{'novalidate_empty_refs'}{'contents'}[3]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'novalidate_empty_refs'}{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[3]{'parent'} =
$result_trees{'novalidate_empty_refs'};
+$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0];
+$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'novalidate_empty_refs'}{'contents'}[4];
+$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'line_nr'} =
$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'line_nr'};
+$result_trees{'novalidate_empty_refs'}{'contents'}[4]{'parent'} =
$result_trees{'novalidate_empty_refs'};
+
+$result_texis{'novalidate_empty_refs'} = '
address@hidden
+
address@hidden Top
+
address@hidden@:}.
address@hidden@asis{ }}.
+
address@hidden @
address@hidden @:
address@hidden @asis{ }
+';
+
+
+$result_texts{'novalidate_empty_refs'} = '
+
+
+.
+.
+
+';
+
+$result_sectioning{'novalidate_empty_refs'} = {};
+
+$result_nodes{'novalidate_empty_refs'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ]
+ }
+ }
+};
+
+$result_menus{'novalidate_empty_refs'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+};
+
+$result_errors{'novalidate_empty_refs'} = [
+ {
+ 'error_line' => ':9: Empty node name after expansion `@
+\'
+',
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => '',
+ 'text' => 'Empty node name after expansion `@
+\'',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':10: Empty node name after expansion `@:\'
+',
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => '',
+ 'text' => 'Empty node name after expansion `@:\'',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':11: Empty node name after expansion address@hidden }\'
+',
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => '',
+ 'text' => 'Empty node name after expansion address@hidden }\'',
+ 'type' => 'error'
+ }
+];
+
+
+
+$result_converted{'info'}->{'novalidate_empty_refs'} = 'This is , produced by
makeinfo version 4.13 from .
+
+
+File: , Node: Top, Up: (dir)
+
+*Note ::. *Note ::.
+
+
+
+Tag Table:
+Node: Top52
+
+End Tag Table
+';
+
+1;
Index: t/results/sectioning/empty_refs.pl
===================================================================
RCS file: t/results/sectioning/empty_refs.pl
diff -N t/results/sectioning/empty_refs.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/empty_refs.pl 27 Feb 2011 21:12:39 -0000 1.1
@@ -0,0 +1,158 @@
+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_trees{'empty_refs'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'cmdname' => ':',
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'xref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => ''
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'asis',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'xref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => '-'
+ }
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_refs'}{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'empty_refs'}{'contents'}[0]{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[0]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'empty_refs'}{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'empty_refs'}{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'line_nr'} =
$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'line_nr'};
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[2]{'parent'} =
$result_trees{'empty_refs'}{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'contents'}[3]{'parent'} =
$result_trees{'empty_refs'}{'contents'}[0];
+$result_trees{'empty_refs'}{'contents'}[0]{'parent'} =
$result_trees{'empty_refs'};
+
+$result_texis{'empty_refs'} = '@xref{@:}.
address@hidden@asis{ }}.
+';
+
+
+$result_texts{'empty_refs'} = '.
+.
+';
+
+$result_errors{'empty_refs'} = [
+ {
+ 'error_line' => ':1: @xref reference to nonexistent node `@:\'
+',
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => '',
+ 'text' => '@xref reference to nonexistent node `@:\'',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':2: @xref reference to nonexistent node address@hidden }\'
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => '@xref reference to nonexistent node address@hidden }\'',
+ 'type' => 'error'
+ }
+];
+
+
+1;
Index: t/results/sectioning/menutextorder.pl
===================================================================
RCS file: t/results/sectioning/menutextorder.pl
diff -N t/results/sectioning/menutextorder.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/menutextorder.pl 27 Feb 2011 21:12:39 -0000
1.1
@@ -0,0 +1,1618 @@
+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_trees{'menutextorder'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ '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' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ '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' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'bar'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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' => [
+ {
+ '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' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'onesub2'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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' => [
+ {}
+ ]
+ },
+ 'level' => 2,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 14,
+ 'macro' => ''
+ },
+ 'number' => '1.1',
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 16,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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' => [
+ {}
+ ]
+ },
+ 'level' => 2,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 17,
+ 'macro' => ''
+ },
+ 'number' => '1.2',
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 20,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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' => [
+ {
+ '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' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ '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' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ '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' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'sub2'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 26,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 23,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 21,
+ 'macro' => ''
+ },
+ 'number' => 2,
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 29,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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' => [
+ {}
+ ]
+ },
+ 'level' => 2,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 30,
+ 'macro' => ''
+ },
+ 'number' => '2.1',
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 32,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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' => [
+ {}
+ ]
+ },
+ 'level' => 2,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 33,
+ 'macro' => ''
+ },
+ 'number' => '2.2',
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 35,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ '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' => [
+ {}
+ ]
+ },
+ '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]{'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]{'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_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]{'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_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]{'parent'} =
$result_trees{'menutextorder'}{'contents'}[0];
+$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[1]{'parent'} =
$result_trees{'menutextorder'}{'contents'}[0];
+$result_trees{'menutextorder'}{'contents'}[0]{'contents'}[2]{'parent'} =
$result_trees{'menutextorder'}{'contents'}[0];
+$result_trees{'menutextorder'}{'contents'}[0]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'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]{'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_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]{'parent'} =
$result_trees{'menutextorder'}{'contents'}[2];
+$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[2]{'parent'} =
$result_trees{'menutextorder'}{'contents'}[2];
+$result_trees{'menutextorder'}{'contents'}[2]{'contents'}[3]{'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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'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]{'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_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]{'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_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]{'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_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]{'parent'} =
$result_trees{'menutextorder'}{'contents'}[8];
+$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[2]{'parent'} =
$result_trees{'menutextorder'}{'contents'}[8];
+$result_trees{'menutextorder'}{'contents'}[8]{'contents'}[3]{'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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+$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]{'parent'} =
$result_trees{'menutextorder'};
+
+$result_texis{'menutextorder'} = '@menu
+* foo::
+* bar::
address@hidden menu
+
address@hidden bar
address@hidden bar
+
address@hidden
+* onesub2::
address@hidden menu
+
address@hidden onesub1
address@hidden One sub 1
+
address@hidden onesub2
address@hidden One sub 2
+
+
address@hidden foo
address@hidden foo
+
address@hidden
+* sub1::
+* sub3::
+* sub2::
address@hidden menu
+
address@hidden sub1
address@hidden Sub1
+
address@hidden sub2
address@hidden Sub2
+
address@hidden sub3
address@hidden 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' => {}
+ }
+ ]
+};
+$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_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'
+ }
+ ],
+ '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'
+ }
+ ],
+ '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'}{'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'}{'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 continuation'
+ },
+ {
+ 'error_line' => ':6: warning: No node following `bar\' in menu, but `foo\'
follows in sectioning
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => 'No node following `bar\' in menu, but `foo\' follows in
sectioning',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => ':13: warning: unreferenced node `onesub1\'
+',
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => '',
+ 'text' => 'unreferenced node `onesub1\'',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => ':13: warning: No node following `onesub1\' in menu, but
`onesub2\' follows in sectioning
+',
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => '',
+ 'text' => 'No node following `onesub1\' in menu, but `onesub2\' follows in
sectioning',
+ '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' => ':20: warning: unreferenced node `foo\'
+',
+ 'file_name' => '',
+ 'line_nr' => 20,
+ 'macro' => '',
+ 'text' => 'unreferenced node `foo\'',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => ':29: warning: Node following `sub1\' in menu `sub3\' and
in sectioning `sub2\' differ
+',
+ 'file_name' => '',
+ 'line_nr' => 29,
+ 'macro' => '',
+ 'text' => 'Node following `sub1\' in menu `sub3\' and in sectioning
`sub2\' differ',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => ':32: warning: No node following `sub2\' in menu, but
`sub3\' follows in sectioning
+',
+ 'file_name' => '',
+ 'line_nr' => 32,
+ 'macro' => '',
+ 'text' => 'No node following `sub2\' in menu, but `sub3\' follows in
sectioning',
+ 'type' => 'warning'
+ }
+];
+
+
+1;
Index: t/results/sectioning/no_element.pl
===================================================================
RCS file: t/results/sectioning/no_element.pl
diff -N t/results/sectioning/no_element.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/no_element.pl 27 Feb 2011 21:12:39 -0000 1.1
@@ -0,0 +1,948 @@
+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_trees{'no_element'} = {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'no_element test'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'settitle',
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'ISO-8859-1'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'documentencoding',
+ 'extra' => {
+ 'encoding_alias' => 'iso-8859-1',
+ 'text_arg' => 'ISO-8859-1'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'An anchor'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'An-anchor'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_spaces_after_close_brace'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Ref to the anchor:
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'An anchor'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'ref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'label' => {},
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'An-anchor'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Ref to the anchor in footnote:
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Anchor in footnote'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'ref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'label' => {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Anchor in footnote'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Anchor-in-footnote'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => ''
+ },
+ 'parent' => {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'In footnote.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {},
+ {
+ 'text' => '
+',
+ 'type' => 'empty_spaces_after_close_brace'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Ref to main text anchor
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'An anchor'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'ref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'label' => {},
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'An-anchor'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 18,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'parent' => {
+ 'args' => [
+ {}
+ ],
+ 'cmdname' => 'footnote',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'parent' => {
+ 'contents' => [
+ {},
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ },
+ 'type' => 'brace_command_context'
+ }
+ },
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Anchor-in-footnote'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {},
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'float anchor'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'space_at_end_block_command'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'float',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'In float
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'extra' => {
+ 'block_command_line_contents' => [
+ undef,
+ [
+ {}
+ ]
+ ],
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'float-anchor',
+ 'type' => {
+ 'normalized' => ''
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 21,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Ref to float
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'float anchor'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'ref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'label' => {},
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'float-anchor'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 26,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'An anchor'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => ':: ',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'menu entry pointing to the anchor.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'An-anchor'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 29,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 28,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'index entry'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'cindex',
+ 'extra' => {
+ 'index_entry' => {
+ 'command' => {},
+ 'content' => [
+ {}
+ ],
+ 'index_at_command' => 'cindex',
+ 'index_name' => 'cp',
+ 'index_prefix' => 'c',
+ 'number' => 1
+ },
+ 'misc_content' => []
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 32,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'no_element'}{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[0]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'no_element'}{'contents'}[0]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'no_element'}{'contents'}[0]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[0]{'args'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[0]{'extra'}{'misc_content'}[0] =
$result_trees{'no_element'}{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[0]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[1]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'no_element'}{'contents'}[1]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'no_element'}{'contents'}[1]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[1]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[2]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[3]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[4]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[4];
+$result_trees{'no_element'}{'contents'}[4]{'extra'}{'brace_command_contents'}[0][0]
= $result_trees{'no_element'}{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[4]{'extra'}{'node_content'}[0] =
$result_trees{'no_element'}{'contents'}[4]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[4]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[6]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[7]{'contents'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[7];
+$result_trees{'no_element'}{'contents'}[7]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[7]{'contents'}[1]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[7]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[7]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[7]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'no_element'}{'contents'}[7]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[7]{'contents'}[1]{'extra'}{'label'} =
$result_trees{'no_element'}{'contents'}[4];
+$result_trees{'no_element'}{'contents'}[7]{'contents'}[1]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'no_element'}{'contents'}[7]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[7]{'contents'}[1]{'parent'} =
$result_trees{'no_element'}{'contents'}[7];
+$result_trees{'no_element'}{'contents'}[7]{'contents'}[2]{'parent'} =
$result_trees{'no_element'}{'contents'}[7];
+$result_trees{'no_element'}{'contents'}[7]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[8]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[9];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[9]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'args'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'args'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'extra'}{'node_content'}[0]
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[0]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[1]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[2]
= $result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[4]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[0]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1]{'extra'}{'label'}
= $result_trees{'no_element'}{'contents'}[4];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[1]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'contents'}[2]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'contents'}[5]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'parent'}{'args'}[0]
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'parent'}{'parent'}{'contents'}[0]
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'parent'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'parent'}{'parent'}{'contents'}[1]{'parent'}
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'parent'}{'parent'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'parent'}{'parent'}{'parent'}
= $result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'parent'} =
$result_trees{'no_element'}{'contents'}[9];
+$result_trees{'no_element'}{'contents'}[9]{'contents'}[2]{'parent'} =
$result_trees{'no_element'}{'contents'}[9];
+$result_trees{'no_element'}{'contents'}[9]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[10]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[11] =
$result_trees{'no_element'}{'contents'}[9]{'contents'}[1]{'extra'}{'label'}{'parent'}{'parent'}{'parent'};
+$result_trees{'no_element'}{'contents'}[12]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[13]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[13]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[13]{'args'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[13];
+$result_trees{'no_element'}{'contents'}[13]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'no_element'}{'contents'}[13]{'args'}[1];
+$result_trees{'no_element'}{'contents'}[13]{'args'}[1]{'contents'}[2]{'parent'}
= $result_trees{'no_element'}{'contents'}[13]{'args'}[1];
+$result_trees{'no_element'}{'contents'}[13]{'args'}[1]{'parent'} =
$result_trees{'no_element'}{'contents'}[13];
+$result_trees{'no_element'}{'contents'}[13]{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[13]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[13]{'contents'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[13];
+$result_trees{'no_element'}{'contents'}[13]{'extra'}{'block_command_line_contents'}[1][0]
= $result_trees{'no_element'}{'contents'}[13]{'args'}[1]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[13]{'extra'}{'node_content'}[0] =
$result_trees{'no_element'}{'contents'}[13]{'args'}[1]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[13]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[14]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[15]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[16]{'contents'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[16];
+$result_trees{'no_element'}{'contents'}[16]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[16]{'contents'}[1]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[16]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[16]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[16]{'contents'}[1]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'no_element'}{'contents'}[16]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[16]{'contents'}[1]{'extra'}{'label'} =
$result_trees{'no_element'}{'contents'}[13];
+$result_trees{'no_element'}{'contents'}[16]{'contents'}[1]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'no_element'}{'contents'}[16]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[16]{'contents'}[1]{'parent'} =
$result_trees{'no_element'}{'contents'}[16];
+$result_trees{'no_element'}{'contents'}[16]{'contents'}[2]{'parent'} =
$result_trees{'no_element'}{'contents'}[16];
+$result_trees{'no_element'}{'contents'}[16]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[17]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[18]{'contents'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[18];
+$result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[18]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'args'}[1];
+$result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'args'}[1]{'parent'}
= $result_trees{'no_element'}{'contents'}[18]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'args'}[2]{'parent'}
= $result_trees{'no_element'}{'contents'}[18]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'args'}[3];
+$result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'args'}[3]{'parent'}
= $result_trees{'no_element'}{'contents'}[18]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'no_element'}{'contents'}[18]{'contents'}[1]{'parent'} =
$result_trees{'no_element'}{'contents'}[18];
+$result_trees{'no_element'}{'contents'}[18]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[19]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[20]{'parent'} =
$result_trees{'no_element'};
+$result_trees{'no_element'}{'contents'}[21]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'no_element'}{'contents'}[21]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[21]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'no_element'}{'contents'}[21]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[21]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'no_element'}{'contents'}[21]{'args'}[0];
+$result_trees{'no_element'}{'contents'}[21]{'args'}[0]{'parent'} =
$result_trees{'no_element'}{'contents'}[21];
+$result_trees{'no_element'}{'contents'}[21]{'extra'}{'index_entry'}{'command'}
= $result_trees{'no_element'}{'contents'}[21];
+$result_trees{'no_element'}{'contents'}[21]{'extra'}{'index_entry'}{'content'}[0]
= $result_trees{'no_element'}{'contents'}[21]{'args'}[0]{'contents'}[1];
+$result_trees{'no_element'}{'contents'}[21]{'extra'}{'misc_content'} =
$result_trees{'no_element'}{'contents'}[21]{'extra'}{'index_entry'}{'content'};
+$result_trees{'no_element'}{'contents'}[21]{'parent'} =
$result_trees{'no_element'};
+
+$result_texis{'no_element'} = '@settitle no_element test
address@hidden ISO-8859-1
+
+
address@hidden anchor}
+
+Ref to the anchor:
address@hidden anchor}
+
+Ref to the anchor in footnote:
address@hidden in footnote}.
+
address@hidden footnote.
+
address@hidden in footnote}
+
+Ref to main text anchor
address@hidden anchor}
+}
+
address@hidden , float anchor
+In float
address@hidden float
+
+Ref to float
address@hidden anchor}.
+
address@hidden
+* An anchor:: menu entry pointing to the anchor.
address@hidden menu
+
address@hidden index entry
+';
+
+
+$result_texts{'no_element'} = '
+
+
+Ref to the anchor:
+
+
+Ref to the anchor in footnote:
+.
+
+
+
+In float
+
+Ref to float
+.
+
+* An anchor:: menu entry pointing to the anchor.
+
+';
+
+$result_errors{'no_element'} = [
+ {
+ 'error_line' => ':28: @menu seen before first @node
+',
+ 'file_name' => '',
+ 'line_nr' => 28,
+ 'macro' => '',
+ 'text' => '@menu seen before first @node',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':28: perhaps your @top node should be wrapped in
@ifnottex rather than @ifinfo?
+',
+ 'file_name' => '',
+ 'line_nr' => 28,
+ 'macro' => '',
+ 'text' => 'perhaps your @top node should be wrapped in @ifnottex rather
than @ifinfo?',
+ 'type' => 'error continuation'
+ },
+ {
+ 'error_line' => ':32: Entry for index `cp\' outside of any node
+',
+ 'file_name' => '',
+ 'line_nr' => 32,
+ 'macro' => '',
+ 'text' => 'Entry for index `cp\' outside of any node',
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'no_element'} = {
+ '' => [
+ {
+ 'cmdname' => 'float',
+ 'extra' => {
+ 'normalized' => 'float-anchor',
+ 'type' => {
+ 'normalized' => ''
+ }
+ },
+ 'number' => 1
+ }
+ ]
+};
+
+
+
+$result_converted{'info'}->{'no_element'} = 'This is , produced by makeinfo
version 4.13 from .
+
+Ref to the anchor: *note An anchor::
+
+ Ref to the anchor in footnote: *note Anchor in footnote::.
+
+ (1)
+
+In float
+
+1
+
+ Ref to float *note 1: float anchor.
+
+* Menu:
+
+* An anchor:: menu entry pointing to the anchor.
+
+ ---------- Footnotes ----------
+
+ (1) In footnote.
+
+ Ref to main text anchor *note An anchor::
+
+';
+
+$result_converted_errors{'info'}->{'no_element'} = [
+ {
+ 'error_line' => 'warning: Document without nodes.
+',
+ 'text' => 'Document without nodes.',
+ 'type' => 'warning'
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':5: warning: @anchor outside of any node
+',
+ 'text' => '@anchor outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 5
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':13: warning: @footnote outside of any node
+',
+ 'text' => '@footnote outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 13
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':21: warning: @float outside of any node
+',
+ 'text' => '@float outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 21
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':15: warning: @anchor outside of any node
+',
+ 'text' => '@anchor outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 15
+ }
+];
+
+
+1;
Index: t/results/sectioning/nodes_before_top.pl
===================================================================
RCS file: t/results/sectioning/nodes_before_top.pl
diff -N t/results/sectioning/nodes_before_top.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/nodes_before_top.pl 27 Feb 2011 21:12:39 -0000
1.1
@@ -0,0 +1,799 @@
+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_trees{'nodes_before_top'} = {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'first'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'text' => ' ',
+ 'type' => 'empty_spaces_before_argument'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '(dir)'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'node in menu before top'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'node-in-menu-before-top'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'first'
+ },
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ },
+ undef,
+ {
+ 'manual_content' => [
+ {
+ 'parent' => {},
+ 'text' => 'dir'
+ }
+ ]
+ }
+ ],
+ 'normalized' => 'first'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'node in menu before top'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'first'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'node-in-menu-before-top'
+ },
+ undef,
+ undef,
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'first'
+ }
+ ],
+ 'normalized' => 'node-in-menu-before-top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'first'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ },
+ undef,
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'first'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'top section'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'second node'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'second-node'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 12,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'second node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'second-node'
+ }
+ ],
+ 'normalized' => 'second-node'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 16,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'a chapter'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 17,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'nodes_before_top'}{'contents'}[0]{'parent'} =
$result_trees{'nodes_before_top'};
+$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[1]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[1]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[2]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[3]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[3]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[0]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[2]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[3]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[1]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[2]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'contents'}[3]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'extra'}{'node_content'}[0] =
$result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
= $result_trees{'nodes_before_top'}{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'nodes_before_top'}{'contents'}[1]{'extra'}{'nodes_manuals'}[1]{'node_content'}[0]
= $result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'extra'}{'nodes_manuals'}[3]{'manual_content'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[1]{'args'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[1]{'parent'} =
$result_trees{'nodes_before_top'};
+$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[2];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[1]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[2];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[2]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[2];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[3]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[3]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[3]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[2];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'contents'}[0]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[2];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'extra'}{'node_content'}[0] =
$result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'extra'}{'nodes_manuals'}[0]{'node_content'}
= $result_trees{'nodes_before_top'}{'contents'}[2]{'extra'}{'node_content'};
+$result_trees{'nodes_before_top'}{'contents'}[2]{'extra'}{'nodes_manuals'}[3]{'node_content'}[0]
= $result_trees{'nodes_before_top'}{'contents'}[2]{'args'}[3]{'contents'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[2]{'parent'} =
$result_trees{'nodes_before_top'};
+$result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[0]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[1]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[2]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[2];
+$result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[2]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[2];
+$result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[2]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[3]{'extra'}{'node_content'}[0] =
$result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[3]{'extra'}{'nodes_manuals'}[0]{'node_content'}
= $result_trees{'nodes_before_top'}{'contents'}[3]{'extra'}{'node_content'};
+$result_trees{'nodes_before_top'}{'contents'}[3]{'extra'}{'nodes_manuals'}[2]{'node_content'}[0]
= $result_trees{'nodes_before_top'}{'contents'}[3]{'args'}[2]{'contents'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[3]{'parent'} =
$result_trees{'nodes_before_top'};
+$result_trees{'nodes_before_top'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[4]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[4]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[4]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[4];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[0]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[4];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[2]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[3];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[3]{'parent'}
=
$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[1]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[4];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[2]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[4];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'contents'}[3]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[4];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'extra'}{'misc_content'}[0] =
$result_trees{'nodes_before_top'}{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[4]{'parent'} =
$result_trees{'nodes_before_top'};
+$result_trees{'nodes_before_top'}{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[5]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[5]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[5]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[5]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[5]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[5]{'args'}[0]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[5];
+$result_trees{'nodes_before_top'}{'contents'}[5]{'extra'}{'node_content'}[0] =
$result_trees{'nodes_before_top'}{'contents'}[5]{'args'}[0]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[5]{'extra'}{'nodes_manuals'}[0]{'node_content'}
= $result_trees{'nodes_before_top'}{'contents'}[5]{'extra'}{'node_content'};
+$result_trees{'nodes_before_top'}{'contents'}[5]{'parent'} =
$result_trees{'nodes_before_top'};
+$result_trees{'nodes_before_top'}{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[6]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[6]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[6]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[6]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'nodes_before_top'}{'contents'}[6]{'args'}[0];
+$result_trees{'nodes_before_top'}{'contents'}[6]{'args'}[0]{'parent'} =
$result_trees{'nodes_before_top'}{'contents'}[6];
+$result_trees{'nodes_before_top'}{'contents'}[6]{'extra'}{'misc_content'}[0] =
$result_trees{'nodes_before_top'}{'contents'}[6]{'args'}[0]{'contents'}[1];
+$result_trees{'nodes_before_top'}{'contents'}[6]{'parent'} =
$result_trees{'nodes_before_top'};
+
+$result_texis{'nodes_before_top'} = '@node first, Top, ,(dir)
+
address@hidden
+* node in menu before top::
address@hidden menu
+
address@hidden node in menu before top,,,first
+
address@hidden Top,,first
address@hidden top section
+
address@hidden
+* second node::
address@hidden menu
+
address@hidden second node
address@hidden a chapter
+';
+
+
+$result_texts{'nodes_before_top'} = '
+* node in menu before top::
+
+
+top section
+***********
+
+* second node::
+
+1 a chapter
+***********
+';
+
+$result_sectioning{'nodes_before_top'} = {
+ 'level' => -1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+ },
+ 'level' => 0,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'second-node'
+ }
+ }
+ },
+ 'level' => 1,
+ 'number' => 1,
+ 'section_up' => {}
+ }
+ ],
+ 'section_up' => {}
+ }
+ ]
+};
+$result_sectioning{'nodes_before_top'}{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
= $result_sectioning{'nodes_before_top'}{'section_childs'}[0];
+$result_sectioning{'nodes_before_top'}{'section_childs'}[0]{'section_up'} =
$result_sectioning{'nodes_before_top'};
+
+$result_nodes{'nodes_before_top'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'level' => 0
+ },
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 1
+ },
+ 'normalized' => 'second-node'
+ },
+ 'node_up' => {}
+ },
+ 'menus' => [
+ {
+ 'cmdname' => 'menu'
+ }
+ ],
+ 'node_prev' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'first'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node-in-menu-before-top'
+ },
+ 'node_up' => {}
+ },
+ 'menus' => [
+ {
+ 'cmdname' => 'menu'
+ }
+ ],
+ 'node_next' => {},
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ]
+ }
+ }
+ }
+};
+$result_nodes{'nodes_before_top'}{'menu_child'}{'node_up'} =
$result_nodes{'nodes_before_top'};
+$result_nodes{'nodes_before_top'}{'node_prev'}{'menu_child'}{'node_up'} =
$result_nodes{'nodes_before_top'}{'node_prev'};
+$result_nodes{'nodes_before_top'}{'node_prev'}{'node_next'} =
$result_nodes{'nodes_before_top'};
+
+$result_menus{'nodes_before_top'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'second-node'
+ },
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ }
+};
+$result_menus{'nodes_before_top'}{'menu_child'}{'menu_up'} =
$result_menus{'nodes_before_top'};
+
+$result_errors{'nodes_before_top'} = [
+ {
+ 'error_line' => ':1: warning: unreferenced node `first\'
+',
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => '',
+ 'text' => 'unreferenced node `first\'',
+ 'type' => 'warning'
+ }
+];
+
+
+1;