| 1 | package Thrift::Parser::Type::void; | ||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | Thrift::Parser::Type::void - void type | ||
| 6 | |||
| 7 | =head1 DESCRIPTION | ||
| 8 | |||
| 9 | This type class doesn't really hold a value, but is will represent a void type nonetheless. | ||
| 10 | |||
| 11 | =cut | ||
| 12 | |||
| 13 | 6 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 6 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 6 | ▶ | use base qw(Thrift::Parser::Type); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 0 | ▶ | sub read { |
|
Subroutine
read: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 18 | 0 | my ($self, $parser, $input, $meta) = @_; | |
| 19 | # do nothing | ||
| 20 | } | ||
| 21 | |||
| 22 | 0 | ▶ | sub write { |
|
Subroutine
write: not called CC=1 SCAR=0.0
Pod
documented
| |||
| 23 | # do nothing; it's a void for crying out loud | ||
| 24 | } | ||
| 25 | |||
| 26 | 0 | ▶ | sub value_plain { |
|
Subroutine
value_plain: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 27 | 0 | return undef; | |
| 28 | } | ||
| 29 | |||
| 30 | =head1 COPYRIGHT | ||
| 31 | |||
| 32 | Copyright (c) 2009 Eric Waters and XMission LLC (http://www.xmission.com/). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. | ||
| 33 | |||
| 34 | The full text of the license can be found in the LICENSE file included with this module. | ||
| 35 | |||
| 36 | =head1 AUTHOR | ||
| 37 | |||
| 38 | Eric Waters <ewaters@gmail.com> | ||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | 6 | 1; | |