line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::DOM::Event::UI; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $VERSION = '0.056'; |
4
|
|
|
|
|
|
|
|
5
|
7
|
|
|
7
|
|
24
|
use warnings; no warnings qw 'utf8 parenthesis'; |
|
7
|
|
|
7
|
|
6
|
|
|
7
|
|
|
|
|
189
|
|
|
7
|
|
|
|
|
21
|
|
|
7
|
|
|
|
|
6
|
|
|
7
|
|
|
|
|
163
|
|
6
|
7
|
|
|
7
|
|
19
|
use strict; |
|
7
|
|
|
|
|
8
|
|
|
7
|
|
|
|
|
1218
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
require HTML::DOM::Event; |
9
|
|
|
|
|
|
|
our @ISA = HTML::DOM::Event::; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
14
|
100
|
|
14
|
1
|
80
|
sub view { $_[0]{view }||() } |
13
|
30
|
|
|
30
|
1
|
99
|
sub detail { $_[0]{detail } } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub initUIEvent { |
16
|
1
|
|
|
1
|
1
|
2
|
my $self = $_[0]; |
17
|
1
|
|
|
|
|
1
|
my $x; |
18
|
1
|
|
|
|
|
5
|
$self->init(map +($_ => $_[++$x]), |
19
|
|
|
|
|
|
|
qw( type propagates_up cancellable view detail ) |
20
|
|
|
|
|
|
|
); |
21
|
1
|
|
|
|
|
4
|
return; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub init { |
25
|
50
|
|
|
50
|
1
|
46
|
my $self = shift; |
26
|
50
|
|
|
|
|
124
|
my %args = @_; |
27
|
50
|
|
|
|
|
143
|
my %my_args = map +($_ => delete $args{$_}), |
28
|
|
|
|
|
|
|
qw( view detail ); |
29
|
50
|
|
|
|
|
140
|
$self->SUPER::init(%args); |
30
|
50
|
|
|
|
|
206
|
%$self = (%$self, %my_args); |
31
|
50
|
|
|
|
|
151
|
return; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
*|||*|||*|||*|||*|||*|||*|||*|||*|||*|||*|||*|||*|||*|||*|||*|||*|||*| |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__END__ |