line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::ToPerl6::Exception::Fatal::TransformerDefinition; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
15
|
use 5.006001; |
|
1
|
|
|
|
|
3
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
17
|
|
5
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
4
|
use Readonly; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
55
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
#----------------------------------------------------------------------------- |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
use Exception::Class ( |
12
|
1
|
|
|
|
|
7
|
'Perl::ToPerl6::Exception::Fatal::TransformerDefinition' => { |
13
|
|
|
|
|
|
|
isa => 'Perl::ToPerl6::Exception::Fatal', |
14
|
|
|
|
|
|
|
description => 'A bug in a transformer was found.', |
15
|
|
|
|
|
|
|
alias => 'throw_transformer_definition', |
16
|
|
|
|
|
|
|
}, |
17
|
1
|
|
|
1
|
|
4
|
); |
|
1
|
|
|
|
|
2
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
#----------------------------------------------------------------------------- |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Readonly::Array our @EXPORT_OK => qw< throw_transformer_definition >; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
#----------------------------------------------------------------------------- |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
#----------------------------------------------------------------------------- |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=pod |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=for stopwords |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Perl::ToPerl6::Exception::Fatal::TransformerDefinition - A bug in a transformer. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 DESCRIPTION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
A bug in a transformer was found, e.g. it didn't implement a method that it should |
43
|
|
|
|
|
|
|
have. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 INTERFACE SUPPORT |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
This is considered to be a public class. Any changes to its interface |
49
|
|
|
|
|
|
|
will go through a deprecation cycle. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 METHODS |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Only inherited ones. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 AUTHOR |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Elliot Shank <perl@galumph.com> |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 COPYRIGHT |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Copyright (c) 2007-2011 Elliot Shank. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify |
66
|
|
|
|
|
|
|
it under the same terms as Perl itself. The full text of this license |
67
|
|
|
|
|
|
|
can be found in the LICENSE file included with this module. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=cut |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
# Local Variables: |
72
|
|
|
|
|
|
|
# mode: cperl |
73
|
|
|
|
|
|
|
# cperl-indent-level: 4 |
74
|
|
|
|
|
|
|
# fill-column: 78 |
75
|
|
|
|
|
|
|
# indent-tabs-mode: nil |
76
|
|
|
|
|
|
|
# c-indentation-style: bsd |
77
|
|
|
|
|
|
|
# End: |
78
|
|
|
|
|
|
|
# ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround : |