line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Locale::Babelfish::Phrase::Literal; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: Babelfish AST Literal node. |
4
|
|
|
|
|
|
|
|
5
|
4
|
|
|
4
|
|
22
|
use utf8; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
15
|
|
6
|
4
|
|
|
4
|
|
95
|
use strict; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
78
|
|
7
|
4
|
|
|
4
|
|
15
|
use warnings; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
78
|
|
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
1086
|
use Locale::Babelfish::Phrase::Pluralizer (); |
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
111
|
|
10
|
|
|
|
|
|
|
|
11
|
4
|
|
|
4
|
|
242
|
use parent qw( Locale::Babelfish::Phrase::Node ); |
|
4
|
|
|
|
|
224
|
|
|
4
|
|
|
|
|
27
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our $VERSION = '2.003'; # VERSION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__PACKAGE__->mk_accessors( qw( text ) ); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub to_perl_escaped_str { |
19
|
34
|
|
|
34
|
1
|
60
|
my ( $self ) = @_; |
20
|
|
|
|
|
|
|
|
21
|
34
|
|
|
|
|
561
|
return $self->SUPER::to_perl_escaped_str( $self->text ); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
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.003 |
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
|
|
|
|
|
|
|
=back |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
This software is Copyright (c) 2014 by REG.RU LLC. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This is free software, licensed under: |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
The MIT (X11) License |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=cut |