Commit | Line | Data |
3fea05b9 |
1 | package PPI::Token::QuoteLike; |
2 | |
3 | =pod |
4 | |
5 | =head1 NAME |
6 | |
7 | PPI::Token::QuoteLike - Quote-like operator abstract base class |
8 | |
9 | =head1 INHERITANCE |
10 | |
11 | PPI::Token::QuoteLike |
12 | isa PPI::Token |
13 | isa PPI::Element |
14 | |
15 | =head1 DESCRIPTION |
16 | |
17 | The C<PPI::Token::QuoteLike> class is never instantiated, and simply |
18 | provides a common abstract base class for the five quote-like operator |
19 | classes. In PPI, a "quote-like" is the set of quote-like things that |
20 | exclude the string quotes and regular expressions. |
21 | |
22 | The subclasses of C<PPI::Token::QuoteLike> are: |
23 | |
24 | =over 2 |
25 | |
26 | =item qw{} - L<PPI::Token::QuoteLike::Words> |
27 | |
28 | =item `` - L<PPI::Token::QuoteLike::Backtick> |
29 | |
30 | =item qx{} - L<PPI::Token::QuoteLike::Command> |
31 | |
32 | =item qr// - L<PPI::Token::QuoteLike::Regexp> |
33 | |
34 | =item <FOO> - L<PPI::Token::QuoteLike::Readline> |
35 | |
36 | =back |
37 | |
38 | The names are hopefully obvious enough not to have to explain what |
39 | each class is. See their pages for more details. |
40 | |
41 | You may note that the backtick and command quote-like are treated |
42 | separately, even though they do the same thing. This is intentional, |
43 | as the inherit from and are processed by two different parts of the |
44 | PPI's quote engine. |
45 | |
46 | =cut |
47 | |
48 | use strict; |
49 | use PPI::Token (); |
50 | |
51 | use vars qw{$VERSION @ISA}; |
52 | BEGIN { |
53 | $VERSION = '1.206'; |
54 | @ISA = 'PPI::Token'; |
55 | } |
56 | |
57 | 1; |
58 | |
59 | =pod |
60 | |
61 | =head1 SUPPORT |
62 | |
63 | See the L<support section|PPI/SUPPORT> in the main module. |
64 | |
65 | =head1 AUTHOR |
66 | |
67 | Adam Kennedy E<lt>adamk@cpan.orgE<gt> |
68 | |
69 | =head1 COPYRIGHT |
70 | |
71 | Copyright 2001 - 2009 Adam Kennedy. |
72 | |
73 | This program is free software; you can redistribute |
74 | it and/or modify it under the same terms as Perl itself. |
75 | |
76 | The full text of the license can be found in the |
77 | LICENSE file included with this module. |
78 | |
79 | =cut |