line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML5::DOM::Tree; |
2
|
3
|
|
|
3
|
|
21
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
98
|
|
3
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
527
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use overload |
6
|
0
|
|
|
0
|
|
0
|
'""' => sub { $_[0]->document->html }, |
7
|
0
|
|
|
0
|
|
0
|
'@{}' => sub { [$_[0]->document] }, |
8
|
0
|
|
|
0
|
|
0
|
'bool' => sub { 1 }, |
9
|
27
|
50
|
|
27
|
|
72610
|
'==' => sub { defined $_[1] && $_[0]->isSameTree($_[1]) }, |
10
|
0
|
|
0
|
0
|
|
|
'!=' => sub { !defined $_[1] || !$_[0]->isSameTree($_[1]) }, |
11
|
3
|
|
|
3
|
|
20
|
fallback => 1; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
50
|
|
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
0
|
0
|
|
sub text { shift->document->text(@_) } |
14
|
0
|
|
|
0
|
0
|
|
sub html { shift->document->html(@_) } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |