| 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<Thrift::IDL::Type> | ||
| 10 | |||
| 11 | =cut | ||
| 12 | |||
| 13 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 4 | ▶ | use base qw(Thrift::IDL::Type); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 4 | __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 | 0 | ▶ | sub name { 'list' } |
|
Subroutine
name: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 29 | |||
| 30 | 3 | ▶ | sub to_str { |
|
Subroutine
to_str: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 31 | 3 | my ($self) = @_; | |
| 32 | 3 | return sprintf 'list (%s)', $self->val_type; | |
| 33 | } | ||
| 34 | |||
| 35 | 4 | 1; | |