line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::DOM::Exception; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use constant { |
4
|
|
|
|
|
|
|
# DOMException: |
5
|
29
|
|
|
|
|
4390
|
INDEX_SIZE_ERR => 1, |
6
|
|
|
|
|
|
|
DOMSTRING_SIZE_ERR => 2, |
7
|
|
|
|
|
|
|
HIERARCHY_REQUEST_ERR => 3, |
8
|
|
|
|
|
|
|
WRONG_DOCUMENT_ERR => 4, |
9
|
|
|
|
|
|
|
INVALID_CHARACTER_ERR => 5, |
10
|
|
|
|
|
|
|
NO_DATA_ALLOWED_ERR => 6, |
11
|
|
|
|
|
|
|
NO_MODIFICATION_ALLOWED_ERR => 7, |
12
|
|
|
|
|
|
|
NOT_FOUND_ERR => 8, |
13
|
|
|
|
|
|
|
NOT_SUPPORTED_ERR => 9, |
14
|
|
|
|
|
|
|
INUSE_ATTRIBUTE_ERR => 10, |
15
|
|
|
|
|
|
|
INVALID_STATE_ERR => 11, |
16
|
|
|
|
|
|
|
SYNTAX_ERR => 12, |
17
|
|
|
|
|
|
|
INVALID_MODIFICATION_ERR => 13, |
18
|
|
|
|
|
|
|
NAMESPACE_ERR => 14, |
19
|
|
|
|
|
|
|
INVALID_ACCESS_ERR => 15, |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# EventException: |
22
|
|
|
|
|
|
|
UNSPECIFIED_EVENT_TYPE_ERR => 0, |
23
|
29
|
|
|
29
|
|
13216
|
}; |
|
29
|
|
|
|
|
25
|
|
24
|
|
|
|
|
|
|
|
25
|
29
|
|
|
29
|
|
105
|
use Exporter 5.57 'import'; |
|
29
|
|
|
|
|
387
|
|
|
29
|
|
|
|
|
3538
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
our $VERSION = '0.056'; |
28
|
|
|
|
|
|
|
our @EXPORT_OK = qw' |
29
|
|
|
|
|
|
|
INDEX_SIZE_ERR |
30
|
|
|
|
|
|
|
DOMSTRING_SIZE_ERR |
31
|
|
|
|
|
|
|
HIERARCHY_REQUEST_ERR |
32
|
|
|
|
|
|
|
WRONG_DOCUMENT_ERR |
33
|
|
|
|
|
|
|
INVALID_CHARACTER_ERR |
34
|
|
|
|
|
|
|
NO_DATA_ALLOWED_ERR |
35
|
|
|
|
|
|
|
NO_MODIFICATION_ALLOWED_ERR |
36
|
|
|
|
|
|
|
NOT_FOUND_ERR |
37
|
|
|
|
|
|
|
NOT_SUPPORTED_ERR |
38
|
|
|
|
|
|
|
INUSE_ATTRIBUTE_ERR |
39
|
|
|
|
|
|
|
INVALID_STATE_ERR |
40
|
|
|
|
|
|
|
SYNTAX_ERR |
41
|
|
|
|
|
|
|
INVALID_MODIFICATION_ERR |
42
|
|
|
|
|
|
|
NAMESPACE_ERR |
43
|
|
|
|
|
|
|
INVALID_ACCESS_ERR |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
UNSPECIFIED_EVENT_TYPE_ERR |
46
|
|
|
|
|
|
|
'; |
47
|
|
|
|
|
|
|
our %EXPORT_TAGS = (all => [@EXPORT_OK]); |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
use overload |
51
|
|
|
|
|
|
|
fallback => 1, |
52
|
|
|
|
|
|
|
'0+' => \&code, |
53
|
2
|
|
|
2
|
|
305
|
'""' => sub { $_[0][1] =~ /^(.*?)\n?\z/s; "$1\n" }, |
|
2
|
|
|
|
|
14
|
|
54
|
29
|
|
|
29
|
|
24135
|
; |
|
29
|
|
|
|
|
19705
|
|
|
29
|
|
|
|
|
207
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
sub new { |
57
|
61
|
|
|
61
|
1
|
60066
|
bless [@_[1,2]], $_[0]; |
58
|
|
|
|
|
|
|
} |
59
|
|
|
|
|
|
|
|
60
|
61
|
|
|
61
|
1
|
16552
|
sub code { $_[0][0] } |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
'true' |
63
|
|
|
|
|
|
|
__END__ |