| 1 |
NAME |
| 2 |
|
| 3 |
PPIx::Utils - Utility functions for PPI |
| 4 |
|
| 5 |
SYNOPSIS |
| 6 |
|
| 7 |
use PPIx::Utils qw(:classification :language :traversal); |
| 8 |
|
| 9 |
DESCRIPTION |
| 10 |
|
| 11 |
PPIx::Utils is a collection of utility functions for working with PPI |
| 12 |
documents. The functions are organized into submodules, and may be |
| 13 |
imported from the appropriate submodule or via this module. |
| 14 |
|
| 15 |
These functions were originally from Perl::Critic::Utils and related |
| 16 |
modules, and have been split off to this distribution for use outside |
| 17 |
of Perl::Critic. |
| 18 |
|
| 19 |
MODULES |
| 20 |
|
| 21 |
The import tag :all will import the functions from all modules listed |
| 22 |
below. |
| 23 |
|
| 24 |
PPIx::Utils::Classification |
| 25 |
|
| 26 |
Functions related to classification of PPI elements. All functions from |
| 27 |
this module can be imported with the import tag :classification. |
| 28 |
|
| 29 |
PPIx::Utils::Language |
| 30 |
|
| 31 |
Functions related to the Perl language. All functions from this module |
| 32 |
can be imported with the import tag :language. |
| 33 |
|
| 34 |
PPIx::Utils::Traversal |
| 35 |
|
| 36 |
Functions related to traversal of PPI documents. All functions from |
| 37 |
this module can be imported with the import tag :traversal. |
| 38 |
|
| 39 |
BUGS |
| 40 |
|
| 41 |
Report any issues on the public bugtracker. |
| 42 |
|
| 43 |
AUTHOR |
| 44 |
|
| 45 |
Dan Book <[email protected]> |
| 46 |
|
| 47 |
Code originally from Perl::Critic::Utils by Jeffrey Ryan Thalhammer |
| 48 |
<[email protected]>, Perl::Critic::Utils::PPI + |
| 49 |
Perl::Critic::Utils::Perl + PPIx::Utilities::Node by Elliot Shank |
| 50 |
<[email protected]>, and PPIx::Utilities::Statement by Thomas R. Wyant, |
| 51 |
III <[email protected]> |
| 52 |
|
| 53 |
COPYRIGHT AND LICENSE |
| 54 |
|
| 55 |
This software is copyright (c) 2005-2011 Imaginative Software Systems, |
| 56 |
2007-2011 Elliot Shank, 2009-2010 Thomas R. Wyant, III, 2017 Dan Book. |
| 57 |
|
| 58 |
This is free software; you can redistribute it and/or modify it under |
| 59 |
the same terms as the Perl 5 programming language system itself. |
| 60 |
|
| 61 |
SEE ALSO |
| 62 |
|
| 63 |
PPI, Perl::Critic::Utils, PPIx::Utilities |
| 64 |
|