Lines Matching full:section
37 # Support for Context section; can be terminated using empty line
74 or DOC: section title(s). All other functions and DOC:
106 # * (section header: (section description)? )*
183 # A non-void function should have a "Return:" section describing the return
390 # @params and a strictly limited set of supported section names
413 # the canonical section names. see also $doc_sect above.
414 my $section_default = "Description"; # default section
416 my $section = $section_default;
555 # dumps section contents to arrays/hashes intended for that purpose.
576 # Only warn on user specified duplicate section names.
578 print STDERR "${file}:$.: warning: duplicate section name '$name'\n";
592 # dump DOC: section after checking that it should go out
625 # sections => %section descriptions
666 my ($parameter, $section);
707 foreach $section (@{$args{'sectionlist'}}) {
708 print ".SH \"", uc $section, "\"\n";
709 output_highlight($args{'sections'}{$section});
717 my ($parameter, $section);
748 foreach $section (@{$args{'sectionlist'}}) {
749 print ".SH \"$section\"\n";
750 output_highlight($args{'sections'}{$section});
758 my ($parameter, $section);
783 foreach $section (@{$args{'sectionlist'}}) {
784 print ".SH \"$section\"\n";
785 output_highlight($args{'sections'}{$section});
793 my ($parameter, $section);
800 foreach $section (@{$args{'sectionlist'}}) {
801 print ".SH \"$section\"\n";
802 output_highlight($args{'sections'}{$section});
808 my ($parameter, $section);
813 foreach $section (@{$args{'sectionlist'}}) {
814 print ".SH \"$section\"\n";
815 output_highlight($args{'sections'}{$section});
825 # starts by putting out the name of the doc section itself, but that tends
830 my ($parameter, $section);
832 foreach $section (@{$args{'sectionlist'}}) {
833 next if (defined($nosymbol_table{$section}));
836 print "**$section**\n\n";
838 print_lineno($section_start_lines{$section});
839 output_highlight_rst($args{'sections'}{$section});
917 my ($parameter, $section);
1016 my $section;
1020 foreach $section (@{$args{'sectionlist'}}) {
1021 print "**$section**\n\n";
1022 print_lineno($section_start_lines{$section});
1023 output_highlight_rst($args{'sections'}{$section});
1692 # Checks the section describing the return value of a function.
1806 # functions don't have a 'Return' doc section. So until the number
2056 $section = $section_intro;
2058 $section = $1;
2068 # if there's no @param blocks need to set up default section
2071 $section = $section_default;
2124 if ($section =~ /\w\.\.\.$/) {
2125 $section =~ s/\.\.\.$//;
2134 dump_section($file, $section, $contents);
2135 $section = $section_default;
2140 if (/$doc_sect/i) { # case insensitive for supported section names
2144 # map the supported section names to the canonical names
2152 # special: @return is a section, not a param description
2161 dump_section($file, $section, $contents);
2162 $section = $section_default;
2175 $section = $newsection;
2179 dump_section($file, $section, $contents);
2180 $section = $section_default;
2195 if ($section eq $section_context) {
2196 dump_section($file, $section, $contents);
2197 $section = $section_default;
2202 if ($section ne $section_default) {
2216 if ($section =~ m/^@/ || $section eq $section_context) {
2243 $section = $1;
2247 dump_section($file, $section, $contents);
2248 $section = $section_default;
2268 dump_doc_section($file, $section, $contents);
2269 $section = $section_default;
2296 $section = $1;
2309 dump_section($file, $section, $contents);
2310 $section = $section_default;