line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Google::Closure::Type::Warning; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
17
|
use Moose; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
34
|
|
4
|
3
|
|
|
3
|
|
41211
|
use MooseX::Types::Moose qw( Str Int ); |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
41
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
has type => ( |
7
|
|
|
|
|
|
|
is => 'ro', |
8
|
|
|
|
|
|
|
isa => Str, |
9
|
|
|
|
|
|
|
required => 1, |
10
|
|
|
|
|
|
|
); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has file => ( |
13
|
|
|
|
|
|
|
is => 'ro', |
14
|
|
|
|
|
|
|
isa => Str, |
15
|
|
|
|
|
|
|
required => 1, |
16
|
|
|
|
|
|
|
); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
has lineno => ( |
19
|
|
|
|
|
|
|
is => 'ro', |
20
|
|
|
|
|
|
|
isa => Int, |
21
|
|
|
|
|
|
|
required => 1, |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
has charno => ( |
25
|
|
|
|
|
|
|
is => 'ro', |
26
|
|
|
|
|
|
|
isa => Int, |
27
|
|
|
|
|
|
|
required => 1, |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
has line => ( |
31
|
|
|
|
|
|
|
is => 'ro', |
32
|
|
|
|
|
|
|
isa => Str, |
33
|
|
|
|
|
|
|
required => 1, |
34
|
|
|
|
|
|
|
); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
has text => ( |
37
|
|
|
|
|
|
|
is => 'ro', |
38
|
|
|
|
|
|
|
isa => Str, |
39
|
|
|
|
|
|
|
init_arg => 'warning', |
40
|
|
|
|
|
|
|
required => 1, |
41
|
|
|
|
|
|
|
); |
42
|
|
|
|
|
|
|
|
43
|
3
|
|
|
3
|
|
16838
|
no Moose; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
23
|
|
44
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
45
|
|
|
|
|
|
|
1; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
__END__ |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 NAME |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
WebService::Google::Closure::Type::Warning - Warning generated in compilation |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 $warning->type |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Returns a string with the compiled javascript code. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 $warning->file |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Filename of the file that caused the warning |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 $warning->lineno |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Line number that caused the warning |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 $warning->charno |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Char number that caused the warning |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 $warning->text |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The warning text |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Copyright 2010-2011 Magnus Erixzon. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
80
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
81
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
See http://dev.perl.org/licenses/ for more information. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=cut |