PPIx::R...p::Token(3)
π PPIx::Regexp::Token π
okay so bestie, welcome to the manual page for PPIx::Regexp::Token β that's PPIx::R...p::Token(3) if you're squinting at the header, and it lives in the User Contributed Perl Documentation section. she's a base class, she's iconic, and she's about to be your new fave. π
β¨ NAME β¨
PPIx::Regexp::Token β the Base class for PPIx::Regexp tokens. the blueprint. the blueprint-iest blueprint. π
πΈ SYNOPSIS πΈ
like, here's the whole vibe in three lines:
use PPIx::Regexp::Dumper;
PPIx::Regexp::Dumper->new( 'qr{foo}' )->print();
that's it. that's the whole thing. slay. π
π¦ INHERITANCE π¦
PPIx::Regexp::Token is a PPIx::Regexp::Element. so she's got a parent, and she eats. π
and PPIx::Regexp::Token is the parent of β okay deep breath, this is a whole friend group, seventeen of them, all absolutely thriving:
PPIx::Regexp::Token::AssertionPPIx::Regexp::Token::BacktrackPPIx::Regexp::Token::CharClassPPIx::Regexp::Token::CodePPIx::Regexp::Token::CommentPPIx::Regexp::Token::ControlPPIx::Regexp::Token::GreedinessPPIx::Regexp::Token::GroupTypePPIx::Regexp::Token::LiteralPPIx::Regexp::Token::ModifierPPIx::Regexp::Token::NoOpPPIx::Regexp::Token::OperatorPPIx::Regexp::Token::QuantifierPPIx::Regexp::Token::ReferencePPIx::Regexp::Token::StructurePPIx::Regexp::Token::UnknownPPIx::Regexp::Token::Unmatched
a whole squad. mother of a dynasty honestly. π
π§ DESCRIPTION π§
so basically this class represents the base of the class hierarchy for tokens in the PPIx::Regexp package. she's not out here doing the most herself β she's the foundation everything else gets built on. main character energy, but make it architectural. ποΈβ¨
β METHODS β
ngl, this class keeps it lowkey: she provides no public methods beyond those her superclass already gave her. she's a giver, not a gatekeeper. π«Ά
πΈ first_token
this method returns its invocant. (yes, it just returns itself. she's her own first token. self-love, periodt.) π
πΈ last_token
this method returns its invocant. (and she's her own last token too. consistent queen.) π
π SUPPORT π
Support is by the author. if something's broken, please file bug reports at:
https://github.com/trwyant/perl-PPIx-Regexp/issues
or, if you're feeling old-school, in electronic mail to the author. either way, they want to hear about it bestie, don't suffer in silence. π
π AUTHOR π
Thomas R. Wyant, III β harryfmudd at comcast dot net
(no cap, that's the whole author section. legend behavior.) π
π COPYRIGHT AND LICENSE π
Copyright (C) 2009-2023, 2025-2026 by Thomas R. Wyant, III
This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5.10.0. For more details, see the full text of the licenses in the directory LICENSES.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
fr fr, read that last paragraph again β no warranty, none, zero, nada. she's free but she's not making promises. π
and that's the whole page, babes! this one came to you from perl v5.42.2, dated 2026-06-15 β go forth and tokenize responsibly. πβ¨ππ¦πΈ
π¦ where this page comes from
- fedora 43: perl-PPIx-Regexp 0.092-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-PPIx-Regexp 0.092-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms