| 1 | package Devel::IPerl::Plugin::DocDisplay; | ||
| 2 | 1 | $Devel::IPerl::Plugin::DocDisplay::VERSION = '0.012'; | |
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | ▶ | use Devel::IPerl::Display::Markdown; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use Devel::IPerl::Display::TeX; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | ▶ | sub register { |
|
Subroutine
register: called CC=2 SCAR=8.1
Pod
undocumented
| |||
| 10 | 1 | my ($self, $iperl) = @_; | |
| 11 | # TODO generalise the plugin registration | ||
| 12 | 1 | for my $name (qw(markdown tex)) { | |
| 13 | 0 | ▶ | $iperl->helper( $name => sub { shift; $self->$name(@_) } ); |
|
Subroutine
__ANON__: not called CC=1 SCAR=2.6
| |||
| 14 | } | ||
| 15 | } | ||
| 16 | |||
| 17 | 0 | ▶ | sub markdown { shift; Devel::IPerl::Display::Markdown->new(@_) }; |
|
Subroutine
markdown: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | ▶ | sub tex { shift; Devel::IPerl::Display::TeX->new(@_) }; |
|
Subroutine
tex: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 19 | |||
| 20 | 1 | 1; | |
| 21 | |||
| 22 | __END__ | ||