File Coverage

blib/lib/Locale/Babelfish/Phrase/Variable.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 20 20 100.0


line stmt bran cond sub pod time code
1             package Locale::Babelfish::Phrase::Variable;
2              
3             # ABSTRACT: Babelfish AST Variable substitution node.
4              
5 4     4   27 use utf8;
  4         13  
  4         21  
6 4     4   125 use strict;
  4         9  
  4         71  
7 4     4   24 use warnings;
  4         8  
  4         182  
8              
9             our $VERSION = '2.10'; # VERSION
10              
11 4     4   24 use parent qw( Locale::Babelfish::Phrase::Node );
  4         7  
  4         25  
12              
13             __PACKAGE__->mk_accessors( qw( name ) );
14              
15             sub to_perl_escaped_str {
16 24     24 1 48 my ( $self ) = @_;
17              
18 24         423 return $self->SUPER::to_perl_escaped_str( $self->name );
19             }
20              
21             1;
22              
23             __END__
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             Locale::Babelfish::Phrase::Variable - Babelfish AST Variable substitution node.
32              
33             =head1 VERSION
34              
35             version 2.10
36              
37             =head1 AUTHORS
38              
39             =over 4
40              
41             =item *
42              
43             Akzhan Abdulin <akzhan@cpan.org>
44              
45             =item *
46              
47             Igor Mironov <grif@cpan.org>
48              
49             =item *
50              
51             Victor Efimov <efimov@reg.ru>
52              
53             =item *
54              
55             REG.RU LLC
56              
57             =item *
58              
59             Kirill Sysoev <k.sysoev@me.com>
60              
61             =item *
62              
63             Alexandr Tkach <tkach@reg.ru>
64              
65             =back
66              
67             =head1 COPYRIGHT AND LICENSE
68              
69             This software is Copyright (c) 2014 by REG.RU LLC.
70              
71             This is free software, licensed under:
72              
73             The MIT (X11) License
74              
75             =cut