line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::Livedoor::Wiki::Plugin::Inline::Italic; |
2
|
|
|
|
|
|
|
|
3
|
10
|
|
|
10
|
|
51
|
use warnings; |
|
10
|
|
|
|
|
19
|
|
|
10
|
|
|
|
|
277
|
|
4
|
10
|
|
|
10
|
|
53
|
use strict; |
|
10
|
|
|
|
|
17
|
|
|
10
|
|
|
|
|
287
|
|
5
|
10
|
|
|
10
|
|
51
|
use base qw(Text::Livedoor::Wiki::Plugin::Inline); |
|
10
|
|
|
|
|
13
|
|
|
10
|
|
|
|
|
507
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
__PACKAGE__->regex(q{'''([^']*)'''}); |
8
|
|
|
|
|
|
|
__PACKAGE__->n_args(1); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub process { |
11
|
2
|
|
|
2
|
1
|
5
|
my ( $class , $inline , $line ) = @_; |
12
|
2
|
|
|
|
|
6
|
$line = $inline->parse($line); |
13
|
2
|
|
|
|
|
11
|
return "$line"; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Text::Livedoor::Wiki::Plugin::Inline::Italic - Italic Inline Plugin |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
write italic text. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 SYNOPSIS |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
'''italic''' |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 FUNCTION |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head2 process |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 AUTHOR |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
polocky |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |