1PPIx::EditorTools::OutlUisneer(3C)ontributed Perl DocumePnPtIaxt:i:oEnditorTools::Outline(3)
2
3
4

NAME

6       PPIx::EditorTools::Outline - Collect use pragmata, modules,
7       subroutiones, methods, attributes
8

VERSION

10       version 0.21
11

SYNOPSIS

13         my $outline = PPIx::EditorTools::Outline->new->find(
14               code => "package TestPackage;\nsub x { 1;\n"
15             );
16        print Dumper $outline;
17

DESCRIPTION

19       Return a list of pragmatas, modules, methods, attributes of a
20       "PPI::Document".
21

METHODS

23new()
24
25           Constructor. Generally shouldn't be called with any arguments.
26
27find()
28
29                   find( ppi => PPI::Document $ppi )
30           or
31                   find( code => Str $code )
32
33           Accepts either a "PPI::Document" to process or a string containing
34           the code (which will be converted into a "PPI::Document") to
35           process.  Return a reference to a hash.
36
37   Internal Methods
38       •   _Moo_Attributes
39
40       •   _Moo_PkgName
41

SEE ALSO

43       This class inherits from "PPIx::EditorTools".  Also see
44       App::EditorTools, Padre, and PPI.
45

AUTHORS

47       •   Steffen Mueller "smueller@cpan.org"
48
49       •   Mark Grimes "mgrimes@cpan.org"
50
51       •   Ahmad M. Zawawi <ahmad.zawawi@gmail.com>
52
53       •   Gabor Szabo  <gabor@szabgab.com>
54
55       •   Yanick Champoux <yanick@cpan.org>
56
58       This software is copyright (c) 2017, 2014, 2012 by The Padre
59       development team as listed in Padre.pm..
60
61       This is free software; you can redistribute it and/or modify it under
62       the same terms as the Perl 5 programming language system itself.
63
64
65
66perl v5.34.0                      2022-01-21     PPIx::EditorTools::Outline(3)
Impressum