logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PPIx::Utils - Utility functions for PPI

Author

       Dan Book <dbook@cpan.org>

       Code originally from Perl::Critic::Utils by Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>,
       Perl::Critic::Utils::PPI + Perl::Critic::Utils::Perl + PPIx::Utilities::Node by Elliot Shank
       <perl@galumph.com>, and PPIx::Utilities::Statement by Thomas R. Wyant, III <wyant@cpan.org>

Bugs

       Report any issues on the public bugtracker.

Description

       "PPIx::Utils" is a collection of utility functions for working with PPI documents. The functions are
       organized into submodules, and may be imported from the appropriate submodule or via this module.

       These functions were originally from Perl::Critic::Utils and related modules, and have been split off to
       this distribution for use outside of Perl::Critic.

Modules

       The import tag ":all" will import the functions from all modules listed below.

   PPIx::Utils::Classification
       Functions related to classification of PPI elements. All functions from this module can be imported with
       the import tag ":classification".

   PPIx::Utils::Language
       Functions related to the Perl language. All functions from this module can be imported with the import
       tag ":language".

   PPIx::Utils::Traversal
       Functions related to traversal of PPI documents. All functions from this module can be imported with the
       import tag ":traversal".

Name

       PPIx::Utils - Utility functions for PPI

See Also

       PPI, Perl::Critic::Utils, PPIx::Utilities

perl v5.32.1                                       2021-09-29                                   PPIx::Utils(3pm)

Synopsis

           use PPIx::Utils qw(:classification :language :traversal);

See Also