Babelfish/Phrase/Literal.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Babelfish/Phrase/ParserBase.pm ↑ Summary Babelfish/Phrase/Node.pm »
1 package Locale::Babelfish::Phrase::Literal;
2  
3 # ABSTRACT: Babelfish AST Literal node.
4  
5 10 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 10 ▶use Locale::Babelfish::Phrase::Pluralizer ();
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 10 ▶use parent qw( Locale::Babelfish::Phrase::Node );
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 10 our $VERSION = '2.10'; # VERSION
14  
15 10 __PACKAGE__->mk_accessors( qw( text ) );
16  
17  
18 sub to_perl_escaped_str {
19 42 ▶ my ( $self ) = @_;
Subroutine to_perl_escaped_str: called CC=1 SCAR=0.0
Pod documented
20  
21 42 return $self->SUPER::to_perl_escaped_str( $self->text );
22 }
23  
24 10 1;
25  
26 __END__
27  
28 =pod
29  
30 =encoding UTF-8
31  
32 =head1 NAME
33  
34 Locale::Babelfish::Phrase::Literal - Babelfish AST Literal node.
35  
36 =head1 VERSION
37  
38 version 2.10
39  
40 =head1 METHODS
41  
42 =head2 to_perl_escaped_str
43  
44 $str = $node->to_perl_escaped_str
45  
46 Returns node string to be used in Perl source code.
47  
48 =head1 AUTHORS
49  
50 =over 4
51  
52 =item *
53  
54 Akzhan Abdulin <akzhan@cpan.org>
55  
56 =item *
57  
58 Igor Mironov <grif@cpan.org>
59  
60 =item *
61  
62 Victor Efimov <efimov@reg.ru>
63  
64 =item *
65  
66 REG.RU LLC
67  
68 =item *
69  
70 Kirill Sysoev <k.sysoev@me.com>
71  
72 =item *
73  
74 Alexandr Tkach <tkach@reg.ru>
75  
76 =back
77  
78 =head1 COPYRIGHT AND LICENSE
79  
80 This software is Copyright (c) 2014 by REG.RU LLC.
81  
82 This is free software, licensed under:
83  
84 The MIT (X11) License
85  
86 =cut
« Babelfish/Phrase/ParserBase.pm ↑ Summary Babelfish/Phrase/Node.pm »