line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PPI::Token::Regexp::Transliterate; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=pod |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
PPI::Token::Regexp::Transliterate - A transliteration regular expression token |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 INHERITANCE |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
PPI::Token::Regexp::Transliterate |
12
|
|
|
|
|
|
|
isa PPI::Token::Regexp |
13
|
|
|
|
|
|
|
isa PPI::Token |
14
|
|
|
|
|
|
|
isa PPI::Element |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 SYNOPSIS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
$text =~ tr/abc/xyz/; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
A C object represents a single |
23
|
|
|
|
|
|
|
transliteration regular expression. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
I'm afraid you'll have to excuse the ridiculously long class name, but |
26
|
|
|
|
|
|
|
when push came to shove I ended up going for pedantically correct |
27
|
|
|
|
|
|
|
names for things (practically cut and paste from the various docs). |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 METHODS |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
There are no methods available for C |
32
|
|
|
|
|
|
|
beyond those provided by the parent L, L |
33
|
|
|
|
|
|
|
and L classes. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
65
|
|
|
65
|
|
389
|
use strict; |
|
65
|
|
|
|
|
101
|
|
|
65
|
|
|
|
|
1439
|
|
38
|
65
|
|
|
65
|
|
262
|
use PPI::Token::Regexp (); |
|
65
|
|
|
|
|
112
|
|
|
65
|
|
|
|
|
634
|
|
39
|
65
|
|
|
65
|
|
248
|
use PPI::Token::_QuoteEngine::Full (); |
|
65
|
|
|
|
|
111
|
|
|
65
|
|
|
|
|
3272
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our $VERSION = '1.276'; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our @ISA = qw{ |
44
|
|
|
|
|
|
|
PPI::Token::_QuoteEngine::Full |
45
|
|
|
|
|
|
|
PPI::Token::Regexp |
46
|
|
|
|
|
|
|
}; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
1; |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=pod |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 SUPPORT |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
See the L in the main module. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 AUTHOR |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Adam Kennedy Eadamk@cpan.orgE |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 COPYRIGHT |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Copyright 2001 - 2011 Adam Kennedy. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
This program is free software; you can redistribute |
65
|
|
|
|
|
|
|
it and/or modify it under the same terms as Perl itself. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
The full text of the license can be found in the |
68
|
|
|
|
|
|
|
LICENSE file included with this module. |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |