24 Dec 2009 00:10:44 UTC
- Development release
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (68 / 0 / 15)
- KwaliteeBus factor: 0
- License: perl_5
- Activity24 month
- Download (809.92KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCREAMYG Marvin Humphreyand 1 contributors
- Marvin Humphrey <marvin at rectangular dot com>
- COPYRIGHT AND LICENSE
Boilerplater::Hierarchy - A class hierarchy.
A Boilerplater::Hierarchy consists of all the classes defined in files within a source directory and its subdirectories.
There may be more than one tree within the Hierarchy, since all "inert" classes are root nodes, and since Boilerplater does not officially define any core classes itself from which all instantiable classes must descend.
my $hierarchy = Boilerplater::Hierarchy->new( source => undef, # required dest => undef, # required );
source - The directory we begin reading files from.
dest - The directory where the autogenerated files will be written.
Parse every .bp file which can be found under
source, building up the object hierarchy.
my @classes = $hierarchy->ordered_classes;
Return all Classes as a list with the property that every parent class will precede all of its children.
Visit all File objects in the hierarchy. If a parent node is modified, mark all of its children as modified.
If the supplied argument is true, mark all Files as modified.
Copyright 2006-2009 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.