line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Thrift::IDL::Type::Set; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Thrift::IDL::Type::Set |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 DESCRIPTION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Inherits from L |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
12
|
|
|
|
|
|
|
|
13
|
6
|
|
|
6
|
|
35
|
use strict; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
195
|
|
14
|
6
|
|
|
6
|
|
32
|
use warnings; |
|
6
|
|
|
|
|
10
|
|
|
6
|
|
|
|
|
160
|
|
15
|
6
|
|
|
6
|
|
37
|
use base qw(Thrift::IDL::Type); |
|
6
|
|
|
|
|
13
|
|
|
6
|
|
|
|
|
1066
|
|
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
|
1
|
|
|
1
|
0
|
1075
|
sub name { 'set' } |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub to_str { |
31
|
1
|
|
|
1
|
0
|
4
|
my ($self) = @_; |
32
|
1
|
|
|
|
|
5
|
return sprintf 'set (%s)', $self->val_type; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |