1PPIx::Regexp::Token(3)User Contributed Perl DocumentationPPIx::Regexp::Token(3)
2
3
4
6 PPIx::Regexp::Token - Base class for PPIx::Regexp tokens.
7
9 use PPIx::Regexp::Dumper;
10 PPIx::Regexp::Dumper->new( 'qr{foo}' )->print();
11
13 "PPIx::Regexp::Token" is a PPIx::Regexp::Element.
14
15 "PPIx::Regexp::Token" is the parent of PPIx::Regexp::Token::Assertion,
16 PPIx::Regexp::Token::Backtrack, PPIx::Regexp::Token::CharClass,
17 PPIx::Regexp::Token::Code, PPIx::Regexp::Token::Comment,
18 PPIx::Regexp::Token::Control, PPIx::Regexp::Token::Greediness,
19 PPIx::Regexp::Token::GroupType, PPIx::Regexp::Token::Literal,
20 PPIx::Regexp::Token::Modifier, PPIx::Regexp::Token::NoOp,
21 PPIx::Regexp::Token::Operator, PPIx::Regexp::Token::Quantifier,
22 PPIx::Regexp::Token::Reference, PPIx::Regexp::Token::Structure,
23 PPIx::Regexp::Token::Unknown and PPIx::Regexp::Token::Unmatched.
24
26 This class represents the base of the class hierarchy for tokens in the
27 PPIx::Regexp package.
28
30 This class provides no public methods beyond those provided by its
31 superclass.
32
33 first_token
34 This method returns its invocant.
35
36 last_token
37 This method returns its invocant.
38
40 Support is by the author. Please file bug reports at
41 <https://rt.cpan.org>, or in electronic mail to the author.
42
44 Thomas R. Wyant, III wyant at cpan dot org
45
47 Copyright (C) 2009-2020 by Thomas R. Wyant, III
48
49 This program is free software; you can redistribute it and/or modify it
50 under the same terms as Perl 5.10.0. For more details, see the full
51 text of the licenses in the directory LICENSES.
52
53 This program is distributed in the hope that it will be useful, but
54 without any warranty; without even the implied warranty of
55 merchantability or fitness for a particular purpose.
56
57
58
59perl v5.32.0 2020-07-29 PPIx::Regexp::Token(3)