1PPIx::Regexp::Token(3)User Contributed Perl DocumentationPPIx::Regexp::Token(3)
2
3
4

NAME

6       PPIx::Regexp::Token - Base class for PPIx::Regexp tokens.
7

SYNOPSIS

9        use PPIx::Regexp::Dumper;
10        PPIx::Regexp::Dumper->new( 'qr{foo}' )->print();
11

INHERITANCE

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

DESCRIPTION

26       This class represents the base of the class hierarchy for tokens in the
27       PPIx::Regexp package.
28

METHODS

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

SUPPORT

40       Support is by the author. Please file bug reports at
41       <https://rt.cpan.org/Public/Dist/Display.html?Name=PPIx-Regexp>,
42       <https://github.com/trwyant/perl-PPIx-Regexp/issues>, or in electronic
43       mail to the author.
44

AUTHOR

46       Thomas R. Wyant, III wyant at cpan dot org
47
49       Copyright (C) 2009-2022 by Thomas R. Wyant, III
50
51       This program is free software; you can redistribute it and/or modify it
52       under the same terms as Perl 5.10.0. For more details, see the full
53       text of the licenses in the directory LICENSES.
54
55       This program is distributed in the hope that it will be useful, but
56       without any warranty; without even the implied warranty of
57       merchantability or fitness for a particular purpose.
58
59
60
61perl v5.36.0                      2022-07-22            PPIx::Regexp::Token(3)
Impressum