Lines Matching refs:text

38 reading and parsing POD text from an input source. The following objects
47 An object corresponding to a source of POD input text. It is mostly a
56 An object corresponding to a paragraph of POD input text. It may be a
63 input text (see L<perlpod>).
67 An object corresponding to a tree of parsed POD text. Each "node" in
68 a parse-tree (or I<ptree>) is either a text-string or a reference to
228 An object representing a paragraph of POD input text.
237 my $pod_para1 = Pod::Paragraph->new(-text => $text);
239 -text => $text);
240 my $pod_para3 = new Pod::Paragraph(-text => $text);
242 -text => $text);
244 -text => $text,
250 two keyword arguments. The C<-text> keyword indicates the corresponding
251 text of the POD paragraph. The C<-name> keyword indicates the name of
271 -text => (@_ == 1) ? shift : undef,
306 =head2 $pod_para-E<gt>B<text()>
308 my $para_text = $pod_para->text();
310 This method will return the corresponding text of the paragraph.
314 sub text {
315 (@_ > 1) and $_[0]->{'-text'} = $_[1];
316 return $_[0]->{'-text'};
325 This method will return the I<raw> text of the POD paragraph, exactly
331 return $_[0]->{'-text'} unless (defined $_[0]->{'-name'});
333 $_[0]->{'-separator'} . $_[0]->{'-text'};
359 the text used to separate the command name from the rest of the
372 my $ptree = $pod_parser->parse_text( $pod_para->text() );
376 This method will get/set the corresponding parse-tree of the paragraph's text.
551 $pod_seq->prepend($text);
570 $pod_seq->append($text);
609 This method will return the I<raw> text of the POD interior sequence,
616 my $text = $self->{'-name'} . $self->{'-ldelim'};
618 $text .= (ref $_) ? $_->raw_text : $_;
620 $text .= $self->{'-rdelim'};
621 return $text;
630 The leftmost delimiter beginning the argument text to the interior
647 The rightmost delimiter beginning the argument text to the interior
669 sequence's text.
730 This object corresponds to a tree of parsed POD text. As POD text is
732 text-strings and B<Pod::InteriorSequence> objects (in order of
819 This method prepends the given text or parse-tree to the current parse-tree.
820 If the first item on the parse-tree is text and the argument is also text,
821 then the text is prepended to the first item (not added as a separate string).
847 This method appends the given text or parse-tree to the current parse-tree.
848 If the last item on the parse-tree is text and the argument is also text,
849 then the text is appended to the last item (not added as a separate string).
879 This method will return the I<raw> text of the POD parse-tree
886 my $text = "";
888 $text .= (ref $_) ? $_->raw_text : $_;
890 return $text;