Lines Matching defs:link

25   my $link = Pod::Hyperlink->new('Pod::Parser');
221 my $link = Pod::Hyperlink->new('alternative text|page/"section in page"');
272 =item $link-E<gt>parse($string)
286 # syntax check the link and extract destination
296 $self->warning("ignoring leading whitespace in link");
299 $self->warning("ignoring trailing whitespace in link");
302 _invalid_link("empty link");
308 #warn "DEBUG: link=$_\n";
449 =item $link-E<gt>markup($string)
451 Set/retrieve the textual value of the link. This string contains special
464 =item $link-E<gt>text()
467 but without markers (read only). Depending on the link type this is one of
478 # The complete link's text
483 =item $link-E<gt>warning()
500 =item $link-E<gt>file()
502 =item $link-E<gt>line()
505 the link was encountered in. Has to be filled in manually.
509 # The line in the file the link appears
514 # The POD file name the link appears in
519 =item $link-E<gt>page()
521 This method sets or returns the POD page this link points to.
525 # The POD page the link appears on
534 =item $link-E<gt>node()
536 As above, but the destination node text of the link.
540 # The link destination
549 =item $link-E<gt>alttext()
551 Sets or returns an alternative text specified in the link.
564 =item $link-E<gt>type()
576 =item $link-E<gt>link()
578 Returns the link as contents of C<LE<lt>E<gt>>. Reciprocal to B<parse()>.
584 # The link itself
585 sub link {
587 my $link = $self->page() || '';
593 $link .= ($link ? '/' : '') . '"' . $node . '"';
596 $link = $self->node();
599 $link .= '/' . $node;
606 $link = "$text|$link";
608 $link;