line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Thrift::IDL::Type::List; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Thrift::IDL::Type::List |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 DESCRIPTION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Inherits from L |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
12
|
|
|
|
|
|
|
|
13
|
6
|
|
|
6
|
|
36
|
use strict; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
211
|
|
14
|
6
|
|
|
6
|
|
35
|
use warnings; |
|
6
|
|
|
|
|
11
|
|
|
6
|
|
|
|
|
164
|
|
15
|
6
|
|
|
6
|
|
31
|
use base qw(Thrift::IDL::Type); |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
1079
|
|
16
|
|
|
|
|
|
|
__PACKAGE__->mk_accessors(qw(val_type cpp_type)); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 METHODS |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head2 val_type |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head2 cpp_type |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Scalar accessors |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=cut |
27
|
|
|
|
|
|
|
|
28
|
2
|
|
|
2
|
0
|
2480
|
sub name { 'list' } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub to_str { |
31
|
6
|
|
|
6
|
0
|
15
|
my ($self) = @_; |
32
|
6
|
|
|
|
|
28
|
return sprintf 'list (%s)', $self->val_type; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |